34 lines
804 B
Plaintext
34 lines
804 B
Plaintext
# Description: GNU privacy guard
|
|
# URL: http://www.gnupg.org
|
|
# Maintainer: Simon Gloßner, viper at hometux dot de
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
|
# Depends on: libgcrypt, libassuan, libksba, pinentry
|
|
|
|
name=gnupg
|
|
version=2.0.2
|
|
release=1
|
|
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--mandir=/usr/man \
|
|
--enable-static-rnd=linux \
|
|
--enable-dev-random \
|
|
--disable-nls \
|
|
--disable-ldap
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
chmod u+s $PKG/usr/bin/gpg2
|
|
ln -s /usr/bin/gpg2 $PKG/usr/bin/gpg
|
|
ln -s /usr/man/man1/gpg2.1.gz $PKG/usr/man/man1/gpg.1.gz
|
|
|
|
rm -rf $PKG/usr/share/info
|
|
rm -f $PKG/usr/share/gnupg/{FAQ,faq.html,qualified.txt}
|
|
}
|