mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-crypt-random: new aport
This commit is contained in:
parent
0ba7b35d26
commit
ebfe0cd065
34
testing/perl-crypt-random/APKBUILD
Normal file
34
testing/perl-crypt-random/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-crypt-random
|
||||
_pkgreal=Crypt-Random
|
||||
pkgver=1.52
|
||||
pkgrel=0
|
||||
pkgdesc="Perl module for Crypt-Random"
|
||||
url="https://metacpan.org/release/Crypt-Random/"
|
||||
arch="all !s390x"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl-math-pari perl-statistics-chisquare perl-class-loader"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/V/VI/VIPUL/Crypt-Random-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="b82252aae6a009b0dc09bf2e6704d114cd4e40b9588269246871d3b1fb66b4abda87e7c324afc30fd9cf19eb0c0502c2af05d8981226513223277f83854b770f Crypt-Random-1.52.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user