Magellan Linux

Contents of /trunk/core/gnupg/gnupg-2.0.13-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3489 - (show annotations) (download)
Thu Oct 22 21:23:23 2009 UTC (14 years, 6 months ago) by niro
File size: 1577 byte(s)
auto added: ver bump to 2.0.13-r1
1 # $Id$
2
3 PNAME="gnupg"
4 PVER="2.0.13"
5 PBUILD="r1"
6
7 PCATEGORIE="app-crypt"
8 STATE="unstable"
9
10 DESCRIPTION="GnuPG is a complete and free replacement for PGP."
11 HOMEPAGE="http://www.gnupg.org/"
12
13 DEPEND=">= virtual/glibc
14 >= virtual/mta
15 >= app-arch/bzip2-1.0.5
16 >= net-misc/curl-7.19
17 >= dev-libs/pth-2
18 >= app-crypt/libgpg-error-1.7
19 >= app-crypt/libgcrypt-1.4.4
20 >= app-crypt/libksba-1.0.7"
21
22 SDEPEND=">= app-crypt/libassuan-1.0.5
23 >= sys-dev/gettext-0.17
24 >= sys-apps/texinfo-4"
25
26 SRCFILE="${PNAME}-${PVER}.tar.bz2"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
28
29 sminclude mbuild mtools
30
31 SRC_URI=(
32 #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
33 ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 )
36
37 #UP2DATE="updatecmd ftp://ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball"
38 UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball"
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 mconfigure \
45 --enable-nls \
46 --enable-symcryptrun \
47 --enable-gpg \
48 --enable-gpgsm \
49 --enable-agent \
50 --enable-bzip2 \
51 --enable-scdaemon \
52 --disable-ldap \
53 --disable-capabilities \
54 || die
55
56 mmake || die
57 }
58
59 src_install()
60 {
61 cd ${SRCDIR}
62 mmake DESTDIR=${BINDIR} install || die
63
64 # fix missing symlinks and man-pages
65 mlink gpg2 /usr/bin/gpg || die
66 mlink gpgv2 /usr/bin/gpgv || die
67 echo ".so man1/gpg2.1" > ${BINDIR}/usr/share/man/man1/gpg.1 || die
68 echo ".so man1/gpgv2.1" > ${BINDIR}/usr/share/man/man1/gpgv.1 || die
69
70 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO VERSION || die
71 }

Properties

Name Value
svn:keywords Id