Commit 61c86aca authored by Timothy Legge's avatar Timothy Legge Committed by Kevin Daudt
Browse files

testing/perl-crypt-des_ede3: new aport

parent 530e4886
# 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=0
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-crypt-des 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment