summaryrefslogtreecommitdiff
path: root/packages/gnutls/gnutls.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-12-12 17:07:41 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-12-12 17:07:41 +0000
commitdc2a64d0b899d47b494d5e58213e491ef2b4db06 (patch)
tree8ce480fd7ea391725647debba6a26122737da6a3 /packages/gnutls/gnutls.inc
parent578a0a607455ab673c1b440fdaa2e594b99e5f5c (diff)
gnutls: simplified recipes, dropped version older then 1.4.4
1.6.0 need one new library package
Diffstat (limited to 'packages/gnutls/gnutls.inc')
-rw-r--r--packages/gnutls/gnutls.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/gnutls/gnutls.inc b/packages/gnutls/gnutls.inc
new file mode 100644
index 0000000000..0d13d132de
--- /dev/null
+++ b/packages/gnutls/gnutls.inc
@@ -0,0 +1,42 @@
+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
+
+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/
+}
+
+PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin"
+
+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.*"