2006-02-23 15:26:10 +00:00
|
|
|
# Description: GNU privacy guard
|
2009-09-19 00:57:18 +02:00
|
|
|
# URL: http://www.gnupg.org
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
2016-03-08 04:10:10 +01:00
|
|
|
# Depends on: libgcrypt, libassuan, libksba, pinentry, npth
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=gnupg
|
2017-04-11 01:21:14 +02:00
|
|
|
version=2.1.20
|
2010-07-19 22:45:58 +02:00
|
|
|
release=1
|
2009-09-19 16:53:21 +02:00
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2)
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2013-10-10 00:29:10 +02:00
|
|
|
cd $name-$version
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
./configure \
|
2009-09-19 00:57:18 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--disable-nls \
|
2010-08-31 21:31:19 +02: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
|
2016-03-08 04:10:10 +01:00
|
|
|
ln -s /usr/share/man/man1/gpg2.1.gz $PKG/usr/share/man/man1/gpg.1.gz
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2009-09-19 00:57:18 +02:00
|
|
|
rm -rf $PKG/usr/share/{info,doc}
|
2006-11-29 11:29:57 +01:00
|
|
|
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
|
|
|
}
|