Contents of /smage/branches/alx08x-unstable/extras/gnutls/gnutls-3.8.3-r1.smage2
Parent Directory
|
Revision Log
Revision 18081 -
(show annotations)
(download)
Fri Mar 15 09:44:54 2024 UTC (3 months ago) by niro
File size: 1721 byte(s)
Fri Mar 15 09:44:54 2024 UTC (3 months ago) by niro
File size: 1721 byte(s)
-release branches/alx08x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="gnutls" |
4 | PVER="3.8.3" |
5 | PBUILD="r1" |
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++-13.1 |
13 | >= sys-libs/zlib-1.2.13 |
14 | >= app-arch/zstd-1.5 |
15 | >= dev-libs/gmp-6.2 |
16 | >= dev-libs/libunistring-1 |
17 | >= app-crypt/libtasn1-4.19 |
18 | >= app-crypt/p11-kit-0.25 |
19 | >= app-crypt/nettle-3.9 |
20 | >= net-dns/libidn2-2.3" |
21 | |
22 | ALX_LIB32_DEPEND=">= sys-libs/libstdc++-lib32-13.1 |
23 | >= sys-libs/zlib-lib32-1.2.13 |
24 | >= app-arch/zstd-lib32-1.5 |
25 | >= dev-libs/gmp-lib32-6.2 |
26 | >= dev-libs/libunistring-lib32-1 |
27 | >= app-crypt/libtasn1-lib32-4.19 |
28 | >= app-crypt/p11-kit-lib32-0.25 |
29 | >= app-crypt/nettle-lib32-3.9 |
30 | >= net-dns/libidn2-lib32-2.3" |
31 | |
32 | SDEPEND=">= sys-dev/gettext-0.22 |
33 | >= sys-libs/libstdc++-dev-13.1 |
34 | >= app-arch/zstd-dev-1.5 |
35 | >= sys-libs/zlib-dev-1.2.13 |
36 | >= dev-libs/gmp-dev-6.2 |
37 | >= dev-libs/libunistring-dev-1 |
38 | >= app-crypt/libtasn1-dev-4.19 |
39 | >= app-crypt/p11-kit-dev-0.25 |
40 | >= app-crypt/nettle-dev-3.9 |
41 | >= net-dns/libidn2-dev-2.3" |
42 | |
43 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
44 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
45 | |
46 | ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*" |
47 | ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*" |
48 | |
49 | EMUL_LINUX_32=true |
50 | sminclude multilib mtools mbuild lib32-split alx-split |
51 | msetfeature "!check" |
52 | |
53 | SRC_URI=( |
54 | ftp://ftp.gnutls.org/gcrypt/${PNAME}/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE} |
55 | mirror://${PNAME}/${SRCFILE} |
56 | ) |
57 | |
58 | UP2URI="ftp://ftp.gnutls.org/gcrypt/${PNAME}" |
59 | UP2DATE="updatecmd ${UP2URI}/v\$(updatecmd -listonly ${UP2URI} | grep 'v[0-9]' | sed 's:.*v\(.*\)/:\1:' | upsort_pipe) | highesttarball xz" |
60 | |
61 | src_compile() |
62 | { |
63 | mconfigure \ |
64 | --with-p11-kit \ |
65 | --with-zlib \ |
66 | --disable-guile \ |
67 | --disable-gtk-doc \ |
68 | || die |
69 | |
70 | mmake || die |
71 | } |