blob: 317839537e293d5a35c1c77df83ec4a3982741dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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=3
pkgdesc="Perl module Crypt-OpenSSL-AES"
url="https://metacpan.org/release/TTAR/Crypt-OpenSSL-AES-0.02"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
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"
|