diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:36:22 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 15:32:53 +0200 |
commit | f4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch) | |
tree | 487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-support/gnutls/gnutls.inc | |
download | poky-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.inc | 49 |
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 @@ | |||
1 | SUMMARY = "GNU Transport Layer Security Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gnutls/" | ||
3 | BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls" | ||
4 | DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap readline" | ||
5 | |||
6 | INC_PR = "r8" | ||
7 | |||
8 | LICENSE = "GPLv3+ & LGPLv2.1+" | ||
9 | LICENSE_${PN} = "LGPLv2.1+" | ||
10 | LICENSE_${PN}-xx = "LGPLv2.1+" | ||
11 | LICENSE_${PN}-bin = "GPLv3+" | ||
12 | LICENSE_${PN}-extra = "GPLv3+" | ||
13 | LICENSE_${PN}-openssl = "GPLv3+" | ||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
15 | file://lib/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
16 | file://libextra/COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
17 | |||
18 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
19 | |||
20 | SRC_URI = "ftp://ftp.gnutls.org/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.bz2" | ||
21 | |||
22 | inherit autotools-brokensep binconfig pkgconfig gettext lib_package | ||
23 | |||
24 | EXTRA_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 | " | ||
34 | do_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 | |||
40 | PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-xx" | ||
41 | |||
42 | FILES_${PN}-dev += "${bindir}/gnutls-cli-debug" | ||
43 | FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*" | ||
44 | FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*" | ||
45 | FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*" | ||
46 | |||
47 | LDFLAGS_append_libc-uclibc += " -pthread" | ||
48 | |||
49 | BBCLASSEXTEND = "native" | ||