milis/talimatname/genel/g/gnupg/talimat

45 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: OpenPGP standardının tamamlanmış ve ücretsiz uygulanması
# URL: http://www.gnupg.org/
# Paketçi: milisarge
# Gerekler: npth libgpg-error libgcrypt libassuan libksba pinentry openldap libusb-compat curl
# Grup: güvenlik sistem
isim=gnupg
surum=2.1.11
devir=1
kaynak=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$surum.tar.bz2)
derle() {
cd gnupg-$surum
sed -e 's|\(GNUPGHOME\)=\$(abs_builddir)|\1=`/bin/pwd`|' \
-i tests/openpgp/Makefile.in
./configure --prefix=/usr \
--enable-symcryptrun \
--docdir=/usr/share/doc/gnupg-$surum
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-$surum/html
if [ -f doc/gnupg_nochunks.html ];then
install -v -m644 doc/gnupg_nochunks.html \
$PKG/usr/share/doc/gnupg-$surum/gnupg.html
fi
install -v -m644 doc/*.texi doc/gnupg.txt \
$PKG/usr/share/doc/gnupg-$surum
rm $PKG/usr/share/info/dir
}