diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/gnutls/gnutls.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls.inc')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls.inc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc new file mode 100644 index 0000000000..76f4ca63fd --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls.inc | |||
@@ -0,0 +1,44 @@ | |||
1 | DESCRIPTION = "GNU Transport Layer Security Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gnutls/" | ||
3 | BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls" | ||
4 | DEPENDS = "zlib lzo gettext libtasn1 libgcrypt (>= 1.4.2)" | ||
5 | |||
6 | LICENSE = "GPLv3+ & LGPLv2.1+" | ||
7 | LICENSE_${PN} = "LGPLv2.1+" | ||
8 | LICENSE_${PN}-xx = "GPLv2.1+" | ||
9 | LICENSE_${PN}-bin = "GPLv3+" | ||
10 | LICENSE_${PN}-extra = "GPLv3+" | ||
11 | LICENSE_${PN}-openssl = "GPLv3+" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
13 | file://lib/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
14 | file://libextra/COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
15 | |||
16 | SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2" | ||
17 | |||
18 | inherit autotools binconfig pkgconfig | ||
19 | |||
20 | EXTRA_OECONF="--with-included-opencdk --with-included-libcfg --disable-rpath \ | ||
21 | --with-libtasn1-prefix=${STAGING_DIR_HOST}${prefix} \ | ||
22 | --with-libgcrypt-prefix=${STAGING_DIR_HOST}${prefix} \ | ||
23 | --with-libz-prefix=${STAGING_DIR_HOST}${prefix} --with-lzo --disable-guile" | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | for dir in . lib libextra; do | ||
27 | rm ${dir}/aclocal.m4 ${dir}/m4/libtool.m4 ${dir}/m4/lt*.m4 | ||
28 | done | ||
29 | } | ||
30 | |||
31 | PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx" | ||
32 | |||
33 | FILES_${PN} = "${libdir}/libgnutls.so.*" | ||
34 | FILES_${PN}-bin = "${bindir}/gnutls-serv \ | ||
35 | ${bindir}/gnutls-cli \ | ||
36 | ${bindir}/srptool \ | ||
37 | ${bindir}/psktool \ | ||
38 | ${bindir}/certtool \ | ||
39 | ${bindir}/gnutls-srpcrypt" | ||
40 | |||
41 | FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug" | ||
42 | FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*" | ||
43 | FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*" | ||
44 | FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*" | ||