summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-06-28 13:37:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-04 14:54:10 +0100
commitb9553b5fe8e06032770fd34e26ab97e6834292ab (patch)
treea5db80ccb59c7cacd247ba06e8223e14aed5e54a
parentb3bfeec4db7d8fa6b8cc4bb2153c7f94cbe1dcc3 (diff)
downloadopenembedded-core-b9553b5fe8e06032770fd34e26ab97e6834292ab.tar.gz
openembedded-core-b9553b5fe8e06032770fd34e26ab97e6834292ab.tar.bz2
openembedded-core-b9553b5fe8e06032770fd34e26ab97e6834292ab.zip
gnutls: use lib_package bbclass
This is a clean-up following the recent addition of PN-bin to bitbake.conf and lib_package Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc14
1 files changed, 3 insertions, 11 deletions
diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index b16dd21f4e..d6c187ffee 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/gnutls/"
BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap readline"
-INC_PR = "r7"
+INC_PR = "r8"
LICENSE = "GPLv3+ & LGPLv2.1+"
LICENSE_${PN} = "LGPLv2.1+"
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
SRC_URI = "${GNU_MIRROR}/gnutls/gnutls-${PV}.tar.bz2"
-inherit autotools binconfig pkgconfig gettext
+inherit autotools binconfig pkgconfig gettext lib_package
EXTRA_OECONF="--with-included-opencdk --with-included-libcfg --disable-rpath \
--with-libtasn1-prefix=${STAGING_DIR_HOST}${prefix} \
@@ -35,15 +35,7 @@ do_configure_prepend() {
done
}
-PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx"
-
-FILES_${PN}-bin = "${bindir}/gnutls-serv \
- ${bindir}/gnutls-cli \
- ${bindir}/srptool \
- ${bindir}/psktool \
- ${bindir}/p11tool \
- ${bindir}/certtool \
- ${bindir}/gnutls-srpcrypt"
+PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-xx"
FILES_${PN}-dev += "${bindir}/gnutls-cli-debug"
FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"