summaryrefslogtreecommitdiff
path: root/packages/gnutls/gnutls.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-12-12 20:27:47 +0000
committerKoen Kooi <koen@openembedded.org>2006-12-12 20:27:47 +0000
commit44fd0a5b1ae5367de691e3437ae9832d800c22e7 (patch)
tree109ae8782937b1d768db72b56496fe921bc912d4 /packages/gnutls/gnutls.inc
parent33a1e2e14f1d92a015887d13ff228e2771573683 (diff)
parent3eda560ee66482cb9954d538b5c2743942dda260 (diff)
merge of '45fb4fa94d52a65c3a3fa636c6122139173dfa8d'
and 'aa6010d679e0e80d63f4e63191b66e5759482858'
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.*"