Annotation of /branches/R11-stable/core/gnutls/gnutls-2.12.21-r2.smage2
Parent Directory
|
Revision Log
Revision 17762 -
(hide annotations)
(download)
Wed Jun 26 12:27:12 2013 UTC (11 years ago) by niro
File size: 1129 byte(s)
Wed Jun 26 12:27:12 2013 UTC (11 years ago) by niro
File size: 1129 byte(s)
-release branches/R11-stable
1 | niro | 17270 | # $Id$ |
2 | |||
3 | PNAME="gnutls" | ||
4 | PVER="2.12.21" | ||
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 | # use libgcrypt instead of libnettle atm | ||
13 | DEPEND=">= sys-libs/libstdc++-4.7 | ||
14 | >= sys-libs/zlib-1.2.5 | ||
15 | >= dev-libs/lzo-2 | ||
16 | >= app-crypt/libgpg-error-1.9 | ||
17 | >= app-crypt/libgcrypt-1.5 | ||
18 | >= app-crypt/libtasn1-3.3 | ||
19 | >= app-crypt/p11-kit-0.19" | ||
20 | |||
21 | SDEPEND=">= sys-dev/gettext-0.18" | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | sminclude mtools mbuild multilib | ||
27 | msetfeature "!check" | ||
28 | |||
29 | SRC_URI=( | ||
30 | gnu://${PNAME}/${SRCFILE} | ||
31 | ftp://ftp.gnutls.org/pub/${PNAME}/${SRCFILE} | ||
32 | mirror://${PNAME}/${SRCFILE} | ||
33 | mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch | ||
34 | ) | ||
35 | |||
36 | UP2DATE="updatecmd 'http://ftp.gnu.org/gnu/gnutls/?C=M;O=A' | lasttarball" | ||
37 | |||
38 | src_prepare() | ||
39 | { | ||
40 | munpack ${SRCFILE} || die | ||
41 | mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die | ||
42 | } | ||
43 | |||
44 | src_compile() | ||
45 | { | ||
46 | mconfigure \ | ||
47 | --without-included-opencdk \ | ||
48 | --with-p11-kit \ | ||
49 | --with-zlib \ | ||
50 | --with-lzo \ | ||
51 | --with-libgcrypt \ | ||
52 | --enable-tls \ | ||
53 | --disable-guile \ | ||
54 | --disable-gtk-doc \ | ||
55 | || die | ||
56 | |||
57 | mmake || die | ||
58 | } |