Magellan Linux

Contents of /branches/R11-stable/extras/gnupg/gnupg-2.0.20-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17936 - (show annotations) (download)
Thu Jun 27 06:31:59 2013 UTC (10 years, 10 months ago) by niro
File size: 1588 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="gnupg"
4 PVER="2.0.20"
5 PBUILD="r1"
6
7 PCAT="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 >= app-crypt/libassuan-2
21 >= app-crypt/pinentry-0.8"
22
23 SDEPEND=">= app-crypt/libassuan-2.0.2
24 >= sys-dev/gettext-0.18
25 >= sys-apps/texinfo-4"
26
27 SRCFILE="${PNAME}-${PVER}.tar.bz2"
28 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29
30 sminclude mbuild mtools
31 msetfeature "!check"
32
33 SRC_URI=(
34 #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
35 ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
36 mirror://${PNAME}/${SRCFILE}
37 )
38
39 UP2DATE="updatecmd http://www.gnupg.org/download/index.en.html | grep ${PNAME}-2 |lasttarball"
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 mconfigure \
46 --libexecdir=/usr/$(mlibdir)/${PNAME} \
47 --enable-nls \
48 --enable-symcryptrun \
49 --enable-gpg \
50 --enable-gpgsm \
51 --enable-agent \
52 --enable-bzip2 \
53 --enable-scdaemon \
54 --disable-ldap \
55 --disable-capabilities \
56 || die
57
58 mmake || die
59 }
60
61 src_install()
62 {
63 cd ${SRCDIR}
64 mmake DESTDIR=${BINDIR} install || die
65
66 # fix missing symlinks and man-pages
67 mlink gpg2 /usr/bin/gpg || die
68 mlink gpgv2 /usr/bin/gpgv || die
69 echo ".so man1/gpg2.1" > ${BINDIR}/usr/share/man/man1/gpg.1 || die
70 echo ".so man1/gpgv2.1" > ${BINDIR}/usr/share/man/man1/gpgv.1 || die
71
72 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO VERSION || die
73 }