aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-04 08:48:28 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:45 +0000
commit5e997a12fd074e0b8f8fc0a63a82b45c48900a1d (patch)
tree530cfed4dbe5145d74de284cc260c3724e1c526f /testing
parent485ffed2399058564fca5cf39b149da95379941a (diff)
downloadaports-5e997a12fd074e0b8f8fc0a63a82b45c48900a1d.tar.bz2
aports-5e997a12fd074e0b8f8fc0a63a82b45c48900a1d.tar.xz
testing/perl-crypt-cbc: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-crypt-cbc/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-crypt-cbc/APKBUILD b/testing/perl-crypt-cbc/APKBUILD
new file mode 100644
index 0000000000..03caf39e51
--- /dev/null
+++ b/testing/perl-crypt-cbc/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-crypt-cbc
+_pkgreal=Crypt-CBC
+pkgver=2.33
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Crypt-CBC/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/L/LD/LDS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="3db5117d60df67e3b400fe367e716be0 Crypt-CBC-2.33.tar.gz"
+sha256sums="6a70de21b6cc7f2b100067e8e188db966e9a8001b5db6fa976e7cb5b294ae645 Crypt-CBC-2.33.tar.gz"
+sha512sums="5db17905c38b46f496617095655bb48e4737d6813c794f65dce88556f177caee1d5f669ddb0da3ad4b00e11ff1bc0af91fd4cd312ed2fd8497e410ef11176244 Crypt-CBC-2.33.tar.gz"