Contents of /branches/magellan-next/core/gnupg/gnupg-2.0.13-r2.smage2
Parent Directory | Revision Log
Revision 6941 -
(show annotations)
(download)
Fri Sep 24 16:35:22 2010 UTC (14 years ago) by niro
File size: 1619 byte(s)
Fri Sep 24 16:35:22 2010 UTC (14 years ago) by niro
File size: 1619 byte(s)
imported from trunk
1 | # $Id$ |
2 | |
3 | PNAME="gnupg" |
4 | PVER="2.0.13" |
5 | PBUILD="r2" |
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.5 |
16 | >= net-misc/curl-7.19 |
17 | >= dev-libs/pth-2 |
18 | >= app-crypt/libgpg-error-1.7 |
19 | >= app-crypt/libgcrypt-1.4.4 |
20 | >= app-crypt/libksba-1.0.7" |
21 | |
22 | SDEPEND=">= app-crypt/libassuan-1.0.5 |
23 | >= sys-dev/gettext-0.17 |
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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |