aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-crypt-openssl-aes/APKBUILD
blob: 911a144e965632371de64d9130465f9da1f07ddf (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=1
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"