Contents of /branches/R11-stable/extras/gnupg/gnupg-2.0.26-r1.smage2
Parent Directory | Revision Log
Revision 22754 -
(show annotations)
(download)
Tue Oct 28 08:42:24 2014 UTC (9 years, 11 months ago) by niro
File size: 1583 byte(s)
Tue Oct 28 08:42:24 2014 UTC (9 years, 11 months ago) by niro
File size: 1583 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="gnupg" |
4 | PVER="2.0.26" |
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 | >= sys-libs/readline-6.3 |
15 | >= app-arch/bzip2-1.0.6 |
16 | >= net-misc/curl-7.21 |
17 | >= dev-libs/pth-2 |
18 | >= app-crypt/libgpg-error-1.12 |
19 | >= app-crypt/libgcrypt-1.6 |
20 | >= app-crypt/libksba-1.3 |
21 | >= app-crypt/libassuan-2 |
22 | >= app-crypt/pinentry-0.8" |
23 | |
24 | SDEPEND=">= sys-dev/gettext-0.18 |
25 | >= sys-apps/texinfo-5" |
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 | } |