blob: 22f2f026e735ffd169b765d072801e6f538d6779 (
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
34
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-crypt-des_ede3
_pkgreal=Crypt-DES_EDE3
pkgver=0.01
pkgrel=1
pkgdesc="Perl module for Crypt-DES_EDE3"
url="https://metacpan.org/release/Crypt-DES_EDE3/"
arch="noarch"
license="GPL-1.0-or-later Artistic-1.0-Perl"
depends="perl-crypt-des"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-$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="96a643c5b9128dc34ee93fd5bcad5d2c56c5111a2c40843a7ea352bd62f1430dafc399d9c7e9809c1ba34dddc5e63d731370ae7c8d555b053f55d3de7f7cb7c8 Crypt-DES_EDE3-0.01.tar.gz"
|