[oe] [PATCH] wvstreams: Cleaned up recipe.
Søren Holm
sgh at sgh.dk
Mon Apr 25 19:34:48 UTC 2011
* Corrected license.
* Added dbus support.
* Made PAM-support conditional.
---
recipes/wvstreams/wvstreams_4.6.1.bb | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/recipes/wvstreams/wvstreams_4.6.1.bb b/recipes/wvstreams/wvstreams_4.6.1.bb
index 53249d4..8453e08 100644
--- a/recipes/wvstreams/wvstreams_4.6.1.bb
+++ b/recipes/wvstreams/wvstreams_4.6.1.bb
@@ -1,9 +1,10 @@
HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
-LICENSE = "LGPL"
+LICENSE = "LGPLv2.1"
DESCRIPTION = "WvStreams is a network programming library in C++"
-DEPENDS = "zlib openssl (>= 0.9.8)"
+DEPENDS = "zlib openssl dbus"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
file://0001-Fixed-missing-header-includes.patch \
@@ -13,13 +14,10 @@ inherit autotools pkgconfig
LDFLAGS_append = " -Wl,-rpath-link,${TOOLCHAIN_PATH}/${TARGET_SYS}/lib"
-# dbus detection currently broken in configure.ac; remember to add "dbus (>= 1.2.14)" to DEPENDS when fixed
-EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-dbus"
+EXTRA_OECONF = " --without-tcl --without-qt --with-dbus"
+EXTRA_OECONF += ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}
-PACKAGES_prepend = "libuniconf libuniconf-dbg "
-PACKAGES_prepend = "uniconfd uniconfd-dbg "
-PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
-PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "
+PACKAGES += "libuniconf libuniconf-dbg uniconfd uniconfd-dbg libwvstreams-base libwvstreams-base-dbg libwvstreams-extras libwvstreams-extras-dbg"
FILES_libuniconf = "${libdir}/libuniconf.so.*"
FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"
@@ -35,10 +33,5 @@ FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debu
PARALLEL_MAKE = ""
-do_configure() {
- autoreconf
- oe_runconf
-}
-
SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"
SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633"
--
1.7.1
More information about the Openembedded-devel
mailing list