blob: e3d5e7d20b6b1d2b87fcd60fda74bd623b6a1475 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
2SUMMARY = "WvStreams is a network programming library in C++"
3
4LICENSE = "LGPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
6
7DEPENDS = "zlib openssl (>= 0.9.8) dbus readline"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008DEPENDS_append_libc-musl = " argp-standalone libexecinfo"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
10SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz \
11 file://04_signed_request.diff \
12 file://05_gcc.diff \
13 file://06_gcc-4.7.diff \
14 file://07_buildflags.diff \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015 file://gcc-6.patch \
16 file://argp.patch \
17 file://0001-Check-for-limits.h-during-configure.patch \
18 file://0002-wvtask-Dont-use-ucontext-on-non-glibc-systems.patch \
19 file://0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch \
20 file://0004-wvcrash-Replace-use-of-basename-API.patch \
21 file://0005-check-for-libexecinfo-during-configure.patch \
22 file://0001-build-fix-parallel-make.patch \
23 file://0002-wvrules.mk-Use-_DEFAULT_SOURCE.patch \
24 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025
26SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"
27SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633"
28
29inherit autotools-brokensep pkgconfig
30
Patrick Williamsb48b7b42016-08-17 15:04:38 -050031TARGET_CFLAGS_append = " -fno-tree-dce -fno-optimize-sibling-calls"
32
33LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
34
35EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
36
37PACKAGES_prepend = "libuniconf libuniconf-dbg "
38PACKAGES_prepend = "uniconfd uniconfd-dbg "
39PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
40PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "
41PACKAGES_prepend = "${PN}-valgrind "
42
43FILES_libuniconf = "${libdir}/libuniconf.so.*"
44FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"
45
46FILES_uniconfd = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf"
47FILES_uniconfd-dbg = "${sbindir}/.debug/uniconfd"
48
49FILES_libwvstreams-base = "${libdir}/libwvutils.so.*"
50FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"
51
52FILES_libwvstreams-extras = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
53FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"
54
55FILES_${PN}-valgrind = "${libdir}/valgrind/wvstreams.supp"
56RDEPENDS_${PN} += "perl"