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

source=(http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-$version.tar.gz)

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