Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6947 - (show annotations) (download)
Fri Sep 24 17:07:26 2010 UTC (13 years, 7 months ago) by niro
File size: 1675 byte(s)
auto added: ver bump to 2.0.16-r1
1 # $Id: gnupg-2.0.13-r2.smage2 4068 2009-11-17 22:01:17Z niro $
2
3 PNAME="gnupg"
4 PVER="2.0.16"
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.6
16 >= net-misc/curl-7.21
17 >= dev-libs/pth-2
18 >= app-crypt/libgpg-error-1.9
19 >= app-crypt/libgcrypt-1.4.6
20 >= app-crypt/libksba-1.0.8"
21
22 SDEPEND=">= app-crypt/libassuan-2.0.1
23 >= sys-dev/gettext-0.18
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 --libexecdir=/usr/$(mlibdir)/${PNAME} \
46 --enable-nls \
47 --enable-symcryptrun \
48 --enable-gpg \
49 --enable-gpgsm \
50 --enable-agent \
51 --enable-bzip2 \
52 --enable-scdaemon \
53 --disable-ldap \
54 --disable-capabilities \
55 || die
56
57 mmake || die
58 }
59
60 src_install()
61 {
62 cd ${SRCDIR}
63 mmake DESTDIR=${BINDIR} install || die
64
65 # fix missing symlinks and man-pages
66 mlink gpg2 /usr/bin/gpg || die
67 mlink gpgv2 /usr/bin/gpgv || die
68 echo ".so man1/gpg2.1" > ${BINDIR}/usr/share/man/man1/gpg.1 || die
69 echo ".so man1/gpgv2.1" > ${BINDIR}/usr/share/man/man1/gpgv.1 || die
70
71 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO VERSION || die
72 }