milis/talimatname/genel/p/perl-crypt-openssl-rsa/talimat

24 lines
726 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Interface to OpenSSL RSA methods
# URL: http://search.cpan.org/dist/Crypt-OpenSSL-RSA
# Paketçi: milisarge
# Gerekler: perl-crypt-openssl-random perl-crypt-openssl-bignum
# Grup: kütüphane
isim=perl-crypt-openssl-rsa
surum=0.28
devir=1
kaynak=(http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-$surum.tar.gz
0001-Adapt-to-OpenSSL-1.1.0.patch)
derle() {
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
patch -p1 -i "$SRC/0001-Adapt-to-OpenSSL-1.1.0.patch"
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
make test
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
make pure_install doc_install DESTDIR="$PKG"
}