mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/perl-power-tools: new aport
https://perlpowertools.com/ BSD utilities written in pure Perl
This commit is contained in:
parent
80eecd6d4a
commit
0d02aebddf
45
testing/perl-power-tools/APKBUILD
Normal file
45
testing/perl-power-tools/APKBUILD
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=perl-power-tools
|
||||||
|
pkgver=1.052
|
||||||
|
pkgrel=0
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=PerlPowerTools
|
||||||
|
pkgdesc="BSD utilities written in pure Perl"
|
||||||
|
url="https://perlpowertools.com/"
|
||||||
|
# s390x: t/od/od.t tests fail
|
||||||
|
arch="noarch !s390x"
|
||||||
|
license="GPL-2.0-or-later AND Artistic-1.0-Perl AND Artistic-2.0 AND BSD-2-Clause"
|
||||||
|
depends="cmd:tput perl perl-app-a2p perl-app-find2perl perl-mime-tools"
|
||||||
|
checkdepends="perl-ipc-run3 perl-test-pod perl-test-warnings"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/PerlPowerTools-$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 \
|
||||||
|
INSTALL_BASE=/usr/share/perlpowertools \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
INSTALLVENDORLIB=/usr/share/perl5/vendor_perl \
|
||||||
|
INSTALLVENDORMAN3DIR=/usr/share/man/man3 \
|
||||||
|
INSTALLVENDORMAN1DIR=/usr/share/man/man1 \
|
||||||
|
MAN1EXT=1ppt \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
ab63e00508a80dd7982d20bb0749c18b2ee0334cc1b17e057765529515b437762ccf5bff307034de41353a64ac162293ab43663c31e74b114db8b1f4c4b1f33b PerlPowerTools-1.052.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user