Magellan Linux

Contents of /branches/magellan-next/core/gnutls/gnutls-2.12.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8420 - (show annotations) (download)
Mon Jul 18 17:56:49 2011 UTC (12 years, 10 months ago) by niro
File size: 863 byte(s)
-force use of libgcrypt
1 # $Id$
2
3 PNAME="gnutls"
4 PVER="2.12.7"
5 PBUILD="r1"
6
7 PCATEGORIE="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/zlib-1.2,5
14 >= dev-libs/lzo-2
15 >= app-crypt/libgpg-error-1.9
16 >= app-crypt/libgcrypt-1.4
17 >= app-crypt/libtasn1-2.9"
18
19 SDEPEND=">= sys-dev/gettext-0.18"
20
21 SRCFILE="${PNAME}-${PVER}.tar.bz2"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude mtools mbuild multilib
25
26 SRC_URI=(
27 ftp://ftp.gnutls.org/pub/${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd 'http://ftp.gnu.org/gnu/gnutls/?C=M;O=A' | lasttarball"
32
33 src_compile()
34 {
35 mconfigure \
36 --without-included-opencdk \
37 --with-zlib \
38 --with-lzo \
39 --with-libgcrypt \
40 --enable-tls \
41 --disable-guile \
42 --disable-gtk-doc \
43 || die
44
45 mmake || die
46 }