milis/talimatname/genel/g/gnupg/talimat

45 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
2018-08-13 09:39:33 +02:00
# Grup: güvenlik sistem
2017-01-31 01:37:09 +01:00
2017-10-28 14:10:23 +02:00
isim=gnupg
surum=2.1.11
devir=1
kaynak=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$surum.tar.bz2)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd gnupg-$surum
2016-02-24 01:27:23 +01:00
sed -e 's|\(GNUPGHOME\)=\$(abs_builddir)|\1=`/bin/pwd`|' \
-i tests/openpgp/Makefile.in
./configure --prefix=/usr \
--enable-symcryptrun \
2017-10-28 14:10:23 +02:00
--docdir=/usr/share/doc/gnupg-$surum
2016-02-24 01:27:23 +01:00
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 \
2017-10-28 14:10:23 +02:00
$PKG/usr/share/doc/gnupg-$surum/html
2016-02-24 01:27:23 +01:00
if [ -f doc/gnupg_nochunks.html ];then
install -v -m644 doc/gnupg_nochunks.html \
2017-10-28 14:10:23 +02:00
$PKG/usr/share/doc/gnupg-$surum/gnupg.html
2016-02-24 01:27:23 +01:00
fi
install -v -m644 doc/*.texi doc/gnupg.txt \
2017-10-28 14:10:23 +02:00
$PKG/usr/share/doc/gnupg-$surum
2016-02-24 01:27:23 +01:00
rm $PKG/usr/share/info/dir
}