Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams" |
| 2 | SUMMARY = "WvStreams is a network programming library in C++" |
| 3 | |
| 4 | LICENSE = "LGPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" |
| 6 | |
| 7 | DEPENDS = "zlib openssl (>= 0.9.8) dbus readline" |
| 8 | |
| 9 | SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz \ |
| 10 | file://04_signed_request.diff \ |
| 11 | file://05_gcc.diff \ |
| 12 | file://06_gcc-4.7.diff \ |
| 13 | file://07_buildflags.diff \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c" |
| 17 | SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633" |
| 18 | |
| 19 | inherit autotools-brokensep pkgconfig |
| 20 | |
| 21 | PARALLEL_MAKE = "" |
| 22 | |
| 23 | TARGET_CFLAGS_append = " -fno-tree-dce -fno-optimize-sibling-calls" |
| 24 | |
| 25 | LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib" |
| 26 | |
| 27 | EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind" |
| 28 | |
| 29 | PACKAGES_prepend = "libuniconf libuniconf-dbg " |
| 30 | PACKAGES_prepend = "uniconfd uniconfd-dbg " |
| 31 | PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg " |
| 32 | PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg " |
| 33 | PACKAGES_prepend = "${PN}-valgrind " |
| 34 | |
| 35 | FILES_libuniconf = "${libdir}/libuniconf.so.*" |
| 36 | FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*" |
| 37 | |
| 38 | FILES_uniconfd = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf" |
| 39 | FILES_uniconfd-dbg = "${sbindir}/.debug/uniconfd" |
| 40 | |
| 41 | FILES_libwvstreams-base = "${libdir}/libwvutils.so.*" |
| 42 | FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*" |
| 43 | |
| 44 | FILES_libwvstreams-extras = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*" |
| 45 | FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*" |
| 46 | |
| 47 | FILES_${PN}-valgrind = "${libdir}/valgrind/wvstreams.supp" |
| 48 | RDEPENDS_${PN} += "perl" |