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-12-25 14:28:47 +01:00
|
|
|
|
# Depends on: libgcrypt, libassuan, libksba, pinentry
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=gnupg
|
2008-05-12 22:37:35 +02:00
|
|
|
|
version=2.0.9
|
2008-12-02 18:44:28 +01:00
|
|
|
|
release=2
|
|
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2
|
|
|
|
|
$name.diff)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
|
2008-12-02 18:44:28 +01:00
|
|
|
|
patch -Np1 -i $SRC/$name.diff
|
|
|
|
|
|
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}
|
2007-12-20 17:38:55 +01:00
|
|
|
|
rm -f $PKG/usr/share/gnupg/help*
|
2006-02-23 15:26:10 +00:00
|
|
|
|
}
|