summaryrefslogtreecommitdiff
path: root/meta/packages/gnutls/gnutls.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-04 11:23:39 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-04 11:23:39 +0000
commit3ad20903639119aaa70d6be597081a8f758fec40 (patch)
tree5557a6d702c43133e82056eeee48b081f0ccbf24 /meta/packages/gnutls/gnutls.inc
parent08065ff374f439bb81db7800d93efa2c5cd4c212 (diff)
downloadopenembedded-core-3ad20903639119aaa70d6be597081a8f758fec40.tar.gz
openembedded-core-3ad20903639119aaa70d6be597081a8f758fec40.tar.bz2
openembedded-core-3ad20903639119aaa70d6be597081a8f758fec40.zip
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.inc44
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 @@
+DESCRIPTION = "GNU Transport Layer Security Library"
+HOMEPAGE = "http://www.gnu.org/software/gnutls/"
+DEPENDS = "zlib libgcrypt lzo"
+
+LICENSE = "LGPL"
+
+SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2 \
+ file://gnutls-openssl.patch;patch=1 \
+ file://onceonly.m4 \
+ file://gnutls-texinfo-euro.patch;patch=1"
+
+inherit autotools binconfig pkgconfig
+
+EXTRA_OECONF="--with-included-opencdk --with-included-libtasn1"
+
+do_configure_prepend() {
+ cp ${WORKDIR}/onceonly.m4 ${S}/m4/
+}
+
+do_stage() {
+ oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR}
+ oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR}
+ oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR}
+ autotools_stage_includes
+
+ install -d ${STAGING_DATADIR}/aclocal
+ cp ${S}/lib/libgnutls.m4 ${STAGING_DATADIR}/aclocal/
+ cp ${S}/libextra/libgnutls-extra.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx"
+
+FILES_${PN} = "${libdir}/libgnutls.so.*"
+FILES_${PN}-bin = "${bindir}/gnutls-serv \
+ ${bindir}/gnutls-cli \
+ ${bindir}/srptool \
+ ${bindir}/psktool \
+ ${bindir}/certtool \
+ ${bindir}/gnutls-srpcrypt"
+
+FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug"
+FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
+FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
+FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"