Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8528 - (show annotations) (download)
Thu Jul 21 20:25:12 2011 UTC (12 years, 10 months ago) by niro
File size: 1626 byte(s)
-fixed missing dependencies
1 # $Id$
2
3 PNAME="gnupg"
4 PVER="2.0.17"
5 PBUILD="r1"
6
7 PCATEGORIE="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
22 SDEPEND=">= app-crypt/libassuan-2.0.2
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 }