# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timo Teräs # Maintainer: Timo Teräs setglobal pkgname = 'perl-data-entropy' setglobal _pkgreal = 'Data-Entropy' setglobal pkgver = '0.007' setglobal pkgrel = '0' setglobal pkgdesc = '"entropy (randomness) management'" setglobal url = '"http://search.cpan.org/dist/Data-Entropy/'" setglobal arch = '"noarch'" setglobal license = '"GPL PerlArtistic'" setglobal cpandepends = '"perl-data-float perl-http-lite perl-params-classify perl-crypt-rijndael'" setglobal cpanmakedepends = '"perl-data-float perl-crypt-rijndael'" setglobal cpancheckdepends = ''"" setglobal depends = $cpandepends setglobal makedepends = ""perl-dev perl-module-build $cpanmakedepends"" setglobal checkdepends = $cpancheckdepends setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"" setglobal builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { default_prepare || return 1 cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] perl Build.PL installdirs=vendor || return 1 } proc build { cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] ./Build } proc package { cd $builddir ./Build install destdir="$pkgdir" || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } proc check { cd $builddir ./Build test } setglobal sha512sums = '"f845fabcac67ab16d44f8bbefa0fc09df171efd6cd9ae2f2ee7e189cbb707cf074705763a022941cbfdda5ab4e03b85eacdb7942a504644a40970c42b5a7e0b9 Data-Entropy-0.007.tar.gz'"