milis/talimatname/genel/g/gnupg/talimat

44 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: OpenPGP standardının tamamlanmış ve ücretsiz uygulanması
2016-02-24 01:27:23 +01:00
# URL: http://www.gnupg.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: npth libgpg-error libgcrypt libassuan libksba pinentry openldap libusb-compat curl
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
name=gnupg
version=2.1.11
release=1
source=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$version.tar.bz2)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd gnupg-$version
sed -e 's|\(GNUPGHOME\)=\$(abs_builddir)|\1=`/bin/pwd`|' \
-i tests/openpgp/Makefile.in
./configure --prefix=/usr \
--enable-symcryptrun \
--docdir=/usr/share/doc/gnupg-$version
make
makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi
makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi
make DESTDIR=$PKG install
# Links to makes gpg2 compatible with gpg1
for f in gpg gpgv
do
ln -svf ${f}2.1 $PKG/usr/share/man/man1/$f.1
ln -svf ${f}2 $PKG/usr/bin/${f}
done
install -v -m755 -d \
$PKG/usr/share/doc/gnupg-$version/html
if [ -f doc/gnupg_nochunks.html ];then
install -v -m644 doc/gnupg_nochunks.html \
$PKG/usr/share/doc/gnupg-$version/gnupg.html
fi
install -v -m644 doc/*.texi doc/gnupg.txt \
$PKG/usr/share/doc/gnupg-$version
rm $PKG/usr/share/info/dir
}