diff options
author | Sergey Safarov <s.safarov@gmail.com> | 2018-03-06 18:30:28 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-14 16:25:26 +0000 |
commit | 1bbe8536b70daa63cfafc812af8279c2402cf8ff (patch) | |
tree | 8401d05213ce8d8db415ca2bf2cb452e71a3b349 /testing/perl-crypt-openssl-aes | |
parent | 2eb2bd0c1055b7f354607217d0ea5fd832127b43 (diff) | |
download | aports-1bbe8536b70daa63cfafc812af8279c2402cf8ff.tar.bz2 aports-1bbe8536b70daa63cfafc812af8279c2402cf8ff.tar.xz |
testing/perl-crypt-openssl-aes: new aport
Diffstat (limited to 'testing/perl-crypt-openssl-aes')
-rw-r--r-- | testing/perl-crypt-openssl-aes/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/perl-crypt-openssl-aes/APKBUILD b/testing/perl-crypt-openssl-aes/APKBUILD new file mode 100644 index 0000000000..6c14991d5e --- /dev/null +++ b/testing/perl-crypt-openssl-aes/APKBUILD @@ -0,0 +1,32 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Sergey Safarov <s.safarov@gmail.com> +pkgname=perl-crypt-openssl-aes +_realname=Crypt-OpenSSL-AES +pkgver=0.02 +pkgrel=0 +pkgdesc="Perl module Crypt-OpenSSL-AES" +url="http://search.cpan.org/~ttar/Crypt-OpenSSL-AES-0.02/" +arch="all" +license="Artistic-1.0 GPL+" +makedepends="perl-dev openssl-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/T/TT/TTAR/$_realname-$pkgver.tar.gz" + +builddir="$srcdir"/$_realname-$pkgver + +build() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="cac503bfa22d82d8cb1873ce97aeee4f2d698a7c0d27bcc055d2e8984094c098b0244498ee80425e0c699d46d1b204c8894fd0538dd2dc1d3ea0f87c593fc918 Crypt-OpenSSL-AES-0.02.tar.gz" |