blob: 8d1f8028d727681ebab6da207e93449cb1a5d3f9 (
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
33
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-crypt-cast5
_pkgreal=Crypt-CAST5
pkgver=0.05
pkgrel=7
pkgdesc="CAST5 block cipher"
url="https://metacpan.org/release/Crypt-CAST5"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BO/BOBMATH/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="717e88f00211f2820a8a867a65ad7b563b6b3546c6399ca45393a31b253a8c75fb9a28d2d50eb79809b93c4745812181f2a12b371f3320c6467dcad21d92c994 Crypt-CAST5-0.05.tar.gz"
|