aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-crypt-cast5
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-04 08:48:07 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:44 +0000
commit485ffed2399058564fca5cf39b149da95379941a (patch)
tree42c1dd4ade6729ff71d25c249dfff24b928bd606 /testing/perl-crypt-cast5
parent08abeeaa611b9d71bbb81b984c2fee96dca1f782 (diff)
downloadaports-485ffed2399058564fca5cf39b149da95379941a.tar.bz2
aports-485ffed2399058564fca5cf39b149da95379941a.tar.xz
testing/perl-crypt-cast5: new aport
Diffstat (limited to 'testing/perl-crypt-cast5')
-rw-r--r--testing/perl-crypt-cast5/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-crypt-cast5/APKBUILD b/testing/perl-crypt-cast5/APKBUILD
new file mode 100644
index 0000000000..52a1df5d89
--- /dev/null
+++ b/testing/perl-crypt-cast5/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-cast5
+_pkgreal=Crypt-CAST5
+pkgver=0.05
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Crypt-CAST5/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BO/BOBMATH/$_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="f4a876c68885950d5df3c30ede634787 Crypt-CAST5-0.05.tar.gz"
+sha256sums="9b51fc769c34ebb7b605927705af31af277e2532f0c03ed53755d064cdde1307 Crypt-CAST5-0.05.tar.gz"
+sha512sums="717e88f00211f2820a8a867a65ad7b563b6b3546c6399ca45393a31b253a8c75fb9a28d2d50eb79809b93c4745812181f2a12b371f3320c6467dcad21d92c994 Crypt-CAST5-0.05.tar.gz"