mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
34 lines
1,012 B
Text
34 lines
1,012 B
Text
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
|
|
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
|
|
pkgname=perl-log-fu
|
|
_pkgreal=Log-Fu
|
|
pkgver=0.31
|
|
pkgrel=4
|
|
pkgdesc="Simplified and developer-friendly screen logging"
|
|
url="https://metacpan.org/release/Log-Fu/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
depends="perl perl-dir-self perl-constant-generate"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/M/MN/MNUNBERG/$_pkgreal-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
ae32b5231c44eac0e1e23a863b4d7f57a0d3018516c6b121cd19034e52adbf5875e9bbc3468a808b64829d6992e8b7303ff3d62129670befe38bc75d28e03eff Log-Fu-0.31.tar.gz
|
|
"
|