Contents of /smage/trunk/deprecated/gnutls/gnutls-3.5.14-r2.smage2
Parent Directory | Revision Log
Revision 11100 -
(show annotations)
(download)
Fri Sep 8 11:51:26 2017 UTC (7 years ago) by niro
File size: 1223 byte(s)
Fri Sep 8 11:51:26 2017 UTC (7 years ago) by niro
File size: 1223 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="gnutls" |
4 | PVER="3.5.14" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="app-crypt" |
8 | |
9 | DESCRIPTION="The GNU Transport Layer Security Library." |
10 | HOMEPAGE="http://www.gnu.org/software/gnutls/" |
11 | |
12 | DEPEND=">= sys-libs/libstdc++-5.3 |
13 | >= sys-libs/zlib-1.2.5 |
14 | >= dev-libs/gmp-6.0 |
15 | >= app-crypt/libtasn1-4.5 |
16 | >= app-crypt/nettle-3.1 |
17 | >= net-dns/libidn-1.30" |
18 | |
19 | ALX_DEV_DEPEND=">= sys-libs/libstdc++-dev-5.3 |
20 | >= sys-libs/zlib-dev-1.2.5 |
21 | >= dev-libs/gmp-dev-6.0 |
22 | >= app-crypt/libtasn1-dev-4.5 |
23 | >= app-crypt/nettle-dev-3.1 |
24 | >= net-dns/libidn-dev-1.30" |
25 | |
26 | SDEPEND=">= sys-dev/gettext-0.18 |
27 | ${ALX_DEV_DEPEND}" |
28 | |
29 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
30 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
31 | |
32 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
33 | |
34 | EMUL_LINUX_32=true |
35 | sminclude mtools mbuild multilib alx-split |
36 | msetfeature "!check" |
37 | |
38 | SRC_URI=( |
39 | ftp://ftp.gnutls.org/gcrypt/${PNAME}/v${PVER%.*}/${SRCFILE} |
40 | mirror://${PNAME}/${SRCFILE} |
41 | ) |
42 | |
43 | UP2URI="ftp://ftp.gnutls.org/gcrypt/${PNAME}" |
44 | UP2DATE="updatecmd ${UP2URI}/v$(updatecmd -listonly ${UP2URI} | grep 'v[0-9]' | sed 's:.*v\(.*\)/:\1:' | upsort_pipe) | highesttarball xz" |
45 | |
46 | src_compile() |
47 | { |
48 | mconfigure \ |
49 | --without-p11-kit \ |
50 | --with-zlib \ |
51 | --disable-guile \ |
52 | --disable-gtk-doc \ |
53 | --with-included-unistring \ |
54 | || die |
55 | |
56 | mmake || die |
57 | } |