Magellan Linux

Contents of /branches/magellan-next/core/gnupg/gnupg-2.0.17-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8373 - (show annotations) (download)
Fri Jul 15 10:44:12 2011 UTC (12 years, 10 months ago) by niro
File size: 1600 byte(s)
auto added: ver bump to 2.0.17-r1
1 # $Id$
2
3 PNAME="gnupg"
4 PVER="2.0.17"
5 PBUILD="r1"
6
7 PCATEGORIE="app-crypt"
8
9 DESCRIPTION="GnuPG is a complete and free replacement for PGP."
10 HOMEPAGE="http://www.gnupg.org/"
11
12 DEPEND=">= virtual/glibc
13 >= virtual/mta
14 >= app-arch/bzip2-1.0.6
15 >= net-misc/curl-7.21
16 >= dev-libs/pth-2
17 >= app-crypt/libgpg-error-1.9
18 >= app-crypt/libgcrypt-1.4.6
19 >= app-crypt/libksba-1.2"
20
21 SDEPEND=">= app-crypt/libassuan-2.0.2
22 >= sys-dev/gettext-0.18
23 >= sys-apps/texinfo-4"
24
25 SRCFILE="${PNAME}-${PVER}.tar.bz2"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude mbuild mtools
29
30 SRC_URI=(
31 #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
32 ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
33 mirror://${PNAME}/${SRCFILE}
34 )
35
36 #UP2DATE="updatecmd ftp://ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball"
37 UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball"
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42
43 mconfigure \
44 --libexecdir=/usr/$(mlibdir)/${PNAME} \
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 }