diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-03-14 09:35:54 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-03-14 09:35:54 -0500 |
commit | 67668e75891222f73dab8a0d12e8163f820e6541 (patch) | |
tree | f2236161d0c4850b98fe713ff15674684ca9a3da /testing | |
parent | 539c1d369331cbc3fb3a46e3c93c39c4bae24c34 (diff) | |
parent | 95439469a0a90d12cdf9721491829dbdcb6ab3c0 (diff) | |
download | aports-67668e75891222f73dab8a0d12e8163f820e6541.tar.bz2 aports-67668e75891222f73dab8a0d12e8163f820e6541.tar.xz |
Merge git://inari.aerdan.org/var/git/aports
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-extutils-cchecker/APKBUILD | 30 | ||||
-rw-r--r-- | testing/perl-json/APKBUILD | 31 | ||||
-rw-r--r-- | testing/perl-test-exception/APKBUILD | 29 |
3 files changed, 90 insertions, 0 deletions
diff --git a/testing/perl-extutils-cchecker/APKBUILD b/testing/perl-extutils-cchecker/APKBUILD new file mode 100644 index 0000000000..9b3a52f2e2 --- /dev/null +++ b/testing/perl-extutils-cchecker/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=perl-extutils-cchecker +_pkgreal=ExtUtils-CChecker +pkgver=0.06 +pkgrel=0 +pkgdesc="Perl module configuration-time utilities for using C headers, libraries, or OS features" +url="http://search.cpan.org/dist/ExtUtils-CChecker/" +arch="noarch" +license="GPL PerlArtistic" +depends= +makedepends="perl-dev perl-test-exception" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name .packlist -name perllocal.pod -delete +} + +md5sums="18d0a1a50afd5a8185c03cbed9098e4e ExtUtils-CChecker-0.06.tar.gz" diff --git a/testing/perl-json/APKBUILD b/testing/perl-json/APKBUILD new file mode 100644 index 0000000000..1d2fbc94c8 --- /dev/null +++ b/testing/perl-json/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +pkgname=perl-json +_pkgreal=JSON +pkgver=2.51 +pkgrel=0 +pkgdesc="Perl module implementing a JSON encoder/decoder" +url="http://search.cpan.org/dist/JSON/" +arch="noarch" +license="GPL PerlArtistic" +depends= +depends_dev= +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete +} + +md5sums="d0ead26851f1e84d122f34533c3809cc JSON-2.51.tar.gz" diff --git a/testing/perl-test-exception/APKBUILD b/testing/perl-test-exception/APKBUILD new file mode 100644 index 0000000000..27edda25a6 --- /dev/null +++ b/testing/perl-test-exception/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=perl-test-exception +_pkgreal=Test-Exception +pkgver=0.31 +pkgrel=0 +pkgdesc="Perl module for testing exception-using code" +url="http://search.cpan.org/dist/Test-Exception/" +arch="noarch" +license="GPL PerlArtistic" +depends= +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name perllocal.pod -delete +} + +md5sums="adb57ca7614d15e5b307bf5e024b35a8 Test-Exception-0.31.tar.gz" |