Magellan Linux

Contents of /trunk/extras/gnupg/gnupg-2.0.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1406 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/gnupg/gnupg-2.0.9-r1.smage2,v 1.1 2008/04/05 09:18:17 niro Exp $
2
3 PNAME="gnupg"
4 PVER="2.0.9"
5 PBUILD="r1"
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.2
16 >= net-misc/curl-7.11.0
17 >= dev-libs/pth-2
18 >= app-crypt/libgpg-error-1.6
19 >= app-crypt/libgcrypt-1.4
20 >= app-crypt/libksba-1"
21
22 SDEPEND=">= app-crypt/libassuan-1.0.1
23 >= sys-dev/gettext-0.12.1
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 mirror://${PNAME}/${SRCFILE}
34 )
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 mconfigure \
41 --enable-nls \
42 --enable-symcryptrun \
43 --enable-gpg \
44 --enable-gpgsm \
45 --enable-agent \
46 --enable-bzip2 \
47 --enable-scdaemon \
48 --disable-ldap \
49 --disable-capabilities \
50 || die
51
52 mmake || die
53 }
54
55 src_install()
56 {
57 cd ${SRCDIR}
58 mmake DESTDIR=${BINDIR} install || die
59
60 # fix missing symlinks and man-pages
61 mlink gpg2 /usr/bin/gpg || die
62 mlink gpgv2 /usr/bin/gpgv || die
63 echo ".so man1/gpg2.1" > ${BINDIR}/usr/share/man/man1/gpg.1 || die
64 echo ".so man1/gpgv2.1" > ${BINDIR}/usr/share/man/man1/gpgv.1 || die
65
66 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO VERSION || die
67 }

Properties

Name Value
svn:keywords Id