blob: a22332ca2e295a0446978a178fe58ed347310e90 (
plain)
1 # Description: GNU privacy guard
2 # URL: http://www.gnupg.org
3 # Maintainer: Simon Gloßner, viper at hometux dot de
4 # Packager: Daniel Mueller, daniel at danm dot de
5
6 name=gnupg
7 version=1.4.3
8 release=1
9 source=(ftp://ftp.gnupg.org/gcrypt/gnupg/$name-$version.tar.bz2 \
10 ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz)
11
12 build () {
13 cd $name-$version
14
15 zcat ../idea.c.gz > cipher/idea.c
16
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib \
20 --enable-static-rnd=linux \
21 --enable-dev-random \
22 --disable-nls \
23 --disable-ldap \
24 --enable-mailto
25
26 # doesn't work in 1.4.3
27 # --enable-m-guard \
28
29 make
30 make DESTDIR=$PKG install
31
32 chmod u+s $PKG/usr/bin/gpg
33
34 rm -rf $PKG/usr/info
35 rm -f $PKG/usr/share/gnupg/{FAQ,faq.html}
36 rm -f $PKG/usr/man/man?/gpg.ru.*
37 }
|