summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls/gnutls.inc
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 14:36:22 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 15:32:53 +0200
commitf4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch)
tree487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-support/gnutls/gnutls.inc
downloadpoky-f4cf9fe05bb3f32fabea4e54dd92d368967a80da.tar.gz
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls.inc')
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc49
1 files changed, 49 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..25ec3a6659
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -0,0 +1,49 @@
1SUMMARY = "GNU Transport Layer Security Library"
2HOMEPAGE = "http://www.gnu.org/software/gnutls/"
3BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
4DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap readline"
5
6INC_PR = "r8"
7
8LICENSE = "GPLv3+ & LGPLv2.1+"
9LICENSE_${PN} = "LGPLv2.1+"
10LICENSE_${PN}-xx = "LGPLv2.1+"
11LICENSE_${PN}-bin = "GPLv3+"
12LICENSE_${PN}-extra = "GPLv3+"
13LICENSE_${PN}-openssl = "GPLv3+"
14LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
15 file://lib/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
16 file://libextra/COPYING;md5=d32239bcb673463ab874e80d47fae504"
17
18SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
19
20SRC_URI = "ftp://ftp.gnutls.org/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.bz2"
21
22inherit autotools-brokensep binconfig pkgconfig gettext lib_package
23
24EXTRA_OECONF="--with-included-opencdk --with-included-libcfg --disable-rpath \
25 --with-libtasn1-prefix=${STAGING_DIR_HOST}${prefix} \
26 --with-libgcrypt --with-libgcrypt-prefix=${STAGING_DIR_HOST}${prefix} \
27 --with-libdl-prefix=${STAGING_DIR_HOST}${prefix} \
28 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \
29 --with-libreadline-prefix=${STAGING_DIR_HOST}${prefix} \
30 --with-libz-prefix=${STAGING_DIR_HOST}${prefix} \
31 --with-lzo --disable-guile \
32 --without-p11-kit \
33 "
34do_configure_prepend() {
35 for dir in . lib libextra; do
36 rm -f ${dir}/aclocal.m4 ${dir}/m4/libtool.m4 ${dir}/m4/lt*.m4
37 done
38}
39
40PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-xx"
41
42FILES_${PN}-dev += "${bindir}/gnutls-cli-debug"
43FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
44FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
45FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"
46
47LDFLAGS_append_libc-uclibc += " -pthread"
48
49BBCLASSEXTEND = "native"