Magellan Linux

Contents of /trunk/core/gnutls/gnutls-2.12.21-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20765 - (show annotations) (download)
Fri Feb 7 10:20:28 2014 UTC (10 years, 3 months ago) by niro
File size: 1123 byte(s)
-rebuild against new libgcrypt and fixed UP2DATE
1 # $Id$
2
3 PNAME="gnutls"
4 PVER="2.12.21"
5 PBUILD="r3"
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.8
14 >= sys-libs/zlib-1.2.5
15 >= dev-libs/lzo-2
16 >= app-crypt/libgpg-error-1.12
17 >= app-crypt/libgcrypt-1.6
18 >= app-crypt/libtasn1-3.4
19 >= app-crypt/p11-kit-0.20"
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/ | highesttarball"
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 }