summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-crypt-eksblowfish/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-crypt-eksblowfish/APKBUILD b/main/perl-crypt-eksblowfish/APKBUILD
new file mode 100644
index 000000000..98b85a593
--- /dev/null
+++ b/main/perl-crypt-eksblowfish/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-crypt-eksblowfish
+_pkgreal=Crypt-Eksblowfish
+pkgver=0.009
+pkgrel=0
+pkgdesc="the Eksblowfish block cipher"
+url="http://search.cpan.org/dist/Crypt-Eksblowfish/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends="perl-class-mix"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="d2907b00cc500fc523bf86bb427d9bb8 Crypt-Eksblowfish-0.009.tar.gz"
+sha256sums="3cc7126d5841107237a9be2dc5c7fbc167cf3c4b4ce34678a8448b850757014c Crypt-Eksblowfish-0.009.tar.gz"
+sha512sums="ca66a1ca4fd71388f25dc77c943e2416ed8534576309dd75f19a7219457418140c1bd21887d61918c34d3d6f9e11ea822b4661d30c6edf7f3673bbcd9a00a51b Crypt-Eksblowfish-0.009.tar.gz"