# Description: Interface to OpenSSL RSA methods
# URL: http://search.cpan.org/
# Packager: pierre at nutyx dot org
# Depends on: perl perl-crypt-openssl-random perl-crypt-openssl-bignum 
run=( perl )
name=perl-crypt-openssl-rsa
version=0.28
release=1

source=(http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-$version.tar.gz)

build() {
cd Crypt-OpenSSL-RSA-$version
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make pure_install doc_install  DESTDIR=$PKG

find "$PKG" -name '.packlist' -delete
find "$PKG" -name '*.pod' -delete
}
