# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-netaddr-mac #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=NetAddr-MAC pkgver=0.98 pkgrel=1 pkgdesc="MAC hardware address functions and object (EUI48 and EUI64)" url="https://metacpan.org/release/NetAddr-MAC/" arch="noarch" license="MIT" depends="perl" makedepends="perl-dev perl-module-build perl-test-trap perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DJ/DJZORT/NetAddr-MAC-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 88ac3c10f3a5c5c1fbf2b40299c95336c26a726bf0d7d82de512985fbc846edfe009d8a40a3b5ea48b6ad65b122e8b4631588ec1019b98b17260f9b6aea72f2f NetAddr-MAC-0.98.tar.gz "