aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-crypt-cbc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-crypt-cbc/APKBUILD')
-rw-r--r--unmaintained/perl-crypt-cbc/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-crypt-cbc/APKBUILD b/unmaintained/perl-crypt-cbc/APKBUILD
new file mode 100644
index 0000000000..03caf39e51
--- /dev/null
+++ b/unmaintained/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"