Contents of /trunk/extras/gnupg/gnupg-2.1.15-r3.smage2
Parent Directory | Revision Log
Revision 30163 -
(show annotations)
(download)
Thu Nov 2 09:12:04 2017 UTC (6 years, 10 months ago) by niro
File size: 1631 byte(s)
Thu Nov 2 09:12:04 2017 UTC (6 years, 10 months ago) by niro
File size: 1631 byte(s)
auto added: ver bump to 2.1.15-r3
1 | # $Id$ |
2 | |
3 | PNAME="gnupg" |
4 | PVER="2.1.15" |
5 | PBUILD="r3" |
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-7.0 |
15 | >= app-arch/bzip2-1.0.6 |
16 | >= net-misc/curl-7.43 |
17 | >= dev-libs/pth-2 |
18 | >= app-crypt/libgpg-error-1.19 |
19 | >= app-crypt/libgcrypt-1.8 |
20 | >= app-crypt/libksba-1.3.4 |
21 | >= app-crypt/libassuan-2.4.3 |
22 | >= app-crypt/pinentry-0.9 |
23 | >= app-crypt/npth-1.2" |
24 | |
25 | SDEPEND=">= sys-dev/gettext-0.18 |
26 | >= sys-apps/texinfo-5" |
27 | |
28 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
29 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
30 | |
31 | sminclude mbuild mtools |
32 | msetfeature "!check" |
33 | |
34 | SRC_URI=( |
35 | #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
36 | ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
37 | mirror://${PNAME}/${SRCFILE} |
38 | ) |
39 | |
40 | UP2DATE="updatecmd http://www.gnupg.org/download/index.en.html | grep ${PNAME}-2 |lasttarball" |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | mconfigure \ |
47 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
48 | --enable-nls \ |
49 | --enable-symcryptrun \ |
50 | --enable-gpg \ |
51 | --enable-gpgsm \ |
52 | --enable-agent \ |
53 | --enable-bzip2 \ |
54 | --enable-scdaemon \ |
55 | --disable-ldap \ |
56 | --disable-capabilities \ |
57 | --without-ldap \ |
58 | || die |
59 | |
60 | mmake || die |
61 | } |
62 | |
63 | src_install() |
64 | { |
65 | cd ${SRCDIR} |
66 | mmake DESTDIR=${BINDIR} install || die |
67 | |
68 | # fix missing symlinks and man-pages |
69 | mlink gpg2 /usr/bin/gpg || die |
70 | mlink gpgv2 /usr/bin/gpgv || die |
71 | echo ".so man1/gpg2.1" > ${BINDIR}/usr/share/man/man1/gpg.1 || die |
72 | echo ".so man1/gpgv2.1" > ${BINDIR}/usr/share/man/man1/gpgv.1 || die |
73 | |
74 | minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO VERSION || die |
75 | } |