diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-04 11:23:39 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-04 11:23:39 +0000 |
commit | 3ad20903639119aaa70d6be597081a8f758fec40 (patch) | |
tree | 5557a6d702c43133e82056eeee48b081f0ccbf24 /meta/packages/gnutls/gnutls.inc | |
parent | 08065ff374f439bb81db7800d93efa2c5cd4c212 (diff) | |
download | poky-3ad20903639119aaa70d6be597081a8f758fec40.tar.gz |
gnutls: update to 1.6.3 (upstream recommended stable version)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1852 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gnutls/gnutls.inc')
-rw-r--r-- | meta/packages/gnutls/gnutls.inc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/packages/gnutls/gnutls.inc b/meta/packages/gnutls/gnutls.inc new file mode 100644 index 0000000000..ed96e3f588 --- /dev/null +++ b/meta/packages/gnutls/gnutls.inc | |||
@@ -0,0 +1,44 @@ | |||
1 | DESCRIPTION = "GNU Transport Layer Security Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gnutls/" | ||
3 | DEPENDS = "zlib libgcrypt lzo" | ||
4 | |||
5 | LICENSE = "LGPL" | ||
6 | |||
7 | SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2 \ | ||
8 | file://gnutls-openssl.patch;patch=1 \ | ||
9 | file://onceonly.m4 \ | ||
10 | file://gnutls-texinfo-euro.patch;patch=1" | ||
11 | |||
12 | inherit autotools binconfig pkgconfig | ||
13 | |||
14 | EXTRA_OECONF="--with-included-opencdk --with-included-libtasn1" | ||
15 | |||
16 | do_configure_prepend() { | ||
17 | cp ${WORKDIR}/onceonly.m4 ${S}/m4/ | ||
18 | } | ||
19 | |||
20 | do_stage() { | ||
21 | oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR} | ||
22 | oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR} | ||
23 | oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR} | ||
24 | autotools_stage_includes | ||
25 | |||
26 | install -d ${STAGING_DATADIR}/aclocal | ||
27 | cp ${S}/lib/libgnutls.m4 ${STAGING_DATADIR}/aclocal/ | ||
28 | cp ${S}/libextra/libgnutls-extra.m4 ${STAGING_DATADIR}/aclocal/ | ||
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.*" | ||