2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: GNU privacy guard
|
|
|
|
|
# URL: http://www.gnupg.org
|
|
|
|
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
|
|
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
2006-11-29 11:29:57 +01:00
|
|
|
|
# Depends on: libgcrypt, libassuan, libksba
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=gnupg
|
2006-11-29 11:29:57 +01:00
|
|
|
|
version=2.0.1
|
2006-12-07 19:44:21 +01:00
|
|
|
|
release=3
|
|
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2 \
|
|
|
|
|
filter-context-20-small.diff)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
|
2006-12-08 18:16:51 +01:00
|
|
|
|
patch -p0 -d g10 -i $SRC/filter-context-20-small.diff
|
2006-12-07 19:44:21 +01:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--libexecdir=/usr/lib \
|
2006-11-29 11:29:57 +01:00
|
|
|
|
--mandir=/usr/man \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
--enable-static-rnd=linux \
|
2006-11-29 11:29:57 +01:00
|
|
|
|
--enable-dev-random \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
--disable-nls \
|
2006-11-29 11:29:57 +01:00
|
|
|
|
--disable-ldap
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
2006-11-29 11:29:57 +01:00
|
|
|
|
chmod u+s $PKG/usr/bin/gpg2
|
|
|
|
|
ln -s /usr/bin/gpg2 $PKG/usr/bin/gpg
|
2006-11-30 18:01:24 +01:00
|
|
|
|
ln -s /usr/man/man1/gpg2.1.gz $PKG/usr/man/man1/gpg.1.gz
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
2006-11-29 11:29:57 +01:00
|
|
|
|
rm -rf $PKG/usr/share/info
|
|
|
|
|
rm -f $PKG/usr/share/gnupg/{FAQ,faq.html,qualified.txt}
|
2006-02-23 15:26:10 +00:00
|
|
|
|
}
|