diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-02 19:29:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-02 19:29:23 +0000 |
commit | 1c0102264ca925ad1428d1e51415391cdfadc076 (patch) | |
tree | 466fdd30f1d30356a179b7150e397b0006363288 /testing | |
parent | 3b868d23210e2d6242788ae9d61fa9f9cdf67805 (diff) | |
parent | 2ade2c4aec316c33690cba005bc331938fa34b75 (diff) | |
download | aports-1c0102264ca925ad1428d1e51415391cdfadc076.tar.bz2 aports-1c0102264ca925ad1428d1e51415391cdfadc076.tar.xz |
Merge git://inari.aerdan.org/var/git/aports
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-crypt-openssl-bignum/APKBUILD | 37 | ||||
-rw-r--r-- | testing/perl-math-random-mt-auto/APKBUILD | 37 | ||||
-rw-r--r-- | testing/perl-object-insideout/APKBUILD | 37 |
3 files changed, 111 insertions, 0 deletions
diff --git a/testing/perl-crypt-openssl-bignum/APKBUILD b/testing/perl-crypt-openssl-bignum/APKBUILD new file mode 100644 index 000000000..3e30d1444 --- /dev/null +++ b/testing/perl-crypt-openssl-bignum/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +pkgname=perl-crypt-openssl-bignum +_pkgreal=Crypt-OpenSSL-Bignum +pkgver=0.04 +pkgrel=0 +pkgdesc="Perl wrapper of OpenSSL's multiprecision integer arithmetic" +url="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="9369ef722b0705c0604998559988eb18 Crypt-OpenSSL-Bignum-0.04.tar.gz" diff --git a/testing/perl-math-random-mt-auto/APKBUILD b/testing/perl-math-random-mt-auto/APKBUILD new file mode 100644 index 000000000..db559d1f3 --- /dev/null +++ b/testing/perl-math-random-mt-auto/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +pkgname=perl-math-random-mt-auto +_pkgreal=Math-Random-MT-Auto +pkgver=6.16 +pkgrel=0 +pkgdesc="Auto-seeded Mersenne Twister PRNGs" +url="http://search.cpan.org/dist/Math-Random-MT-Auto/" +arch="all" +license="unrestricted" +cpandepends="perl-object-insideout perl-exception-class" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="602470f808dbac3f68b373ed1c2be16a Math-Random-MT-Auto-6.16.tar.gz" diff --git a/testing/perl-object-insideout/APKBUILD b/testing/perl-object-insideout/APKBUILD new file mode 100644 index 000000000..a4e187dbb --- /dev/null +++ b/testing/perl-object-insideout/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +pkgname=perl-object-insideout +_pkgreal=Object-InsideOut +pkgver=3.81 +pkgrel=0 +pkgdesc="Comprehensive inside-out object support module" +url="http://search.cpan.org/dist/Object-InsideOut/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-exception-class" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="560170295e21857232d547ccd3b0adf0 Object-InsideOut-3.81.tar.gz" |