diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:46:14 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:46:14 +0000 |
commit | c55a7abc42b39d0c1d7c7dbc42c70d58d2ed281b (patch) | |
tree | 257a232d114968fd17b21a9546cf35b3f9189f64 /community/perl-crypt-cbc | |
parent | 08c715302c89cbda3c0a3f129a95c0c5cb0bcba2 (diff) | |
download | aports-c55a7abc42b39d0c1d7c7dbc42c70d58d2ed281b.tar.bz2 aports-c55a7abc42b39d0c1d7c7dbc42c70d58d2ed281b.tar.xz |
community/perl-crypt-cbc: moved from unmaintained
Diffstat (limited to 'community/perl-crypt-cbc')
-rw-r--r-- | community/perl-crypt-cbc/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-crypt-cbc/APKBUILD b/community/perl-crypt-cbc/APKBUILD new file mode 100644 index 0000000000..cdca8baf7c --- /dev/null +++ b/community/perl-crypt-cbc/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +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" |