diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-23 15:32:30 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-24 09:11:10 +0000 |
commit | 148ac2fa6027b0e23c4c6f38dacaf0ff47321a8f (patch) | |
tree | 5654c882ea14dca7e0e2345c97952d35dbf7dc37 /main/perl-crypt-eksblowfish/APKBUILD | |
parent | f7ffde9c4064535c14efefaa0063482e2c855fc8 (diff) | |
download | aports-148ac2fa6027b0e23c4c6f38dacaf0ff47321a8f.tar.bz2 aports-148ac2fa6027b0e23c4c6f38dacaf0ff47321a8f.tar.xz |
main/perl-crypt-eksblowfish: new aport
Diffstat (limited to 'main/perl-crypt-eksblowfish/APKBUILD')
-rw-r--r-- | main/perl-crypt-eksblowfish/APKBUILD | 41 |
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 0000000000..98b85a593b --- /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" |