# Description: OpenSSL's multiprecision integer arithmetic
# URL: http://search.cpan.org/
# Packager: pierre at nutyx dot org
# Depends on: perl openssl 
run=( perl )
name=perl-crypt-openssl-bignum
version=0.04
release=1

source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-$version.tar.gz)

build() {
cd Crypt-OpenSSL-Bignum-$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
}