summaryrefslogtreecommitdiff
path: root/gnupg/Pkgfile
blob: 609989364d4f4748e31c2cd39a414930c4782848 (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 # Depends on: libgcrypt, libassuan, libksba, pinentry
    6 
    7 name=gnupg
    8 version=2.0.9
    9 release=2
   10 source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2
   11         $name.diff)
   12 
   13 build () {
   14     cd $name-$version
   15 
   16     patch -Np1 -i $SRC/$name.diff
   17 
   18     ./configure \
   19 	--prefix=/usr \
   20 	--libexecdir=/usr/lib \
   21 	--mandir=/usr/man \
   22 	--enable-static-rnd=linux \
   23 	--enable-dev-random \
   24         --disable-nls \
   25         --disable-ldap 
   26 
   27     make
   28     make DESTDIR=$PKG install
   29 
   30     chmod u+s $PKG/usr/bin/gpg2
   31     ln -s /usr/bin/gpg2 $PKG/usr/bin/gpg
   32     ln -s /usr/man/man1/gpg2.1.gz $PKG/usr/man/man1/gpg.1.gz
   33 
   34     rm -rf $PKG/usr/share/info
   35     rm -f $PKG/usr/share/gnupg/{FAQ,faq.html,qualified.txt}
   36     rm -f $PKG/usr/share/gnupg/help*
   37 }

Generated by cgit