aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-04-24 19:56:51 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-25 20:26:02 +0000
commit61c86aca14610e60e7d70a9584dfbc087d2a6b8a (patch)
treeaa0602abedd5f3ea0334718a14ed7fe8684e1d79
parent530e48864418f4fb998ba92e0dcf05264187318d (diff)
downloadaports-61c86aca14610e60e7d70a9584dfbc087d2a6b8a.tar.bz2
aports-61c86aca14610e60e7d70a9584dfbc087d2a6b8a.tar.xz
testing/perl-crypt-des_ede3: new aport
-rw-r--r--testing/perl-crypt-des_ede3/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/perl-crypt-des_ede3/APKBUILD b/testing/perl-crypt-des_ede3/APKBUILD
new file mode 100644
index 0000000000..f044eb1218
--- /dev/null
+++ b/testing/perl-crypt-des_ede3/APKBUILD
@@ -0,0 +1,34 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-crypt-des_ede3
+_pkgreal=Crypt-DES_EDE3
+pkgver=0.01
+pkgrel=0
+pkgdesc="Perl module for Crypt-DES_EDE3"
+url="https://metacpan.org/release/Crypt-DES_EDE3/"
+arch="noarch"
+license="GPL-1.0-or-later Artistic-1.0-Perl"
+depends="perl-crypt-des"
+makedepends="perl-crypt-des perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="96a643c5b9128dc34ee93fd5bcad5d2c56c5111a2c40843a7ea352bd62f1430dafc399d9c7e9809c1ba34dddc5e63d731370ae7c8d555b053f55d3de7f7cb7c8 Crypt-DES_EDE3-0.01.tar.gz"