aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2021-02-10 11:08:29 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2021-02-10 13:36:57 +0000
commit8fcad3ed3c902c6e6ede2161df822fe9b700fff3 (patch)
tree0777eab6377a4eb1bbc8dd861d66273e55068f82
parent54ab2f436bc6f3d91d3b0d74d7edb29bbde06340 (diff)
downloadaports-8fcad3ed3c902c6e6ede2161df822fe9b700fff3.tar.gz
aports-8fcad3ed3c902c6e6ede2161df822fe9b700fff3.tar.bz2
aports-8fcad3ed3c902c6e6ede2161df822fe9b700fff3.tar.xz
community/perl-crypt-rijndael: new aport
-rw-r--r--community/perl-crypt-rijndael/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/perl-crypt-rijndael/APKBUILD b/community/perl-crypt-rijndael/APKBUILD
new file mode 100644
index 0000000000..970bc3e764
--- /dev/null
+++ b/community/perl-crypt-rijndael/APKBUILD
@@ -0,0 +1,35 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-crypt-rijndael
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Crypt-Rijndael
+pkgver=1.15
+pkgrel=0
+pkgdesc="Crypt::CBC compliant Rijndael encryption module"
+url="https://metacpan.org/release/Crypt-Rijndael/"
+arch="all"
+license="open_source"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Crypt-Rijndael-$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="ea4dbbd731483132274752bdb78a7e7cc012bc18d9f88c073f23e6903d05c1cad1e83ad00cf7f593c15e543c5c53e7a68e5fdd064a9c260c444105d47f468308 Crypt-Rijndael-1.15.tar.gz"