mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 02:41:17 +02:00
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-log-log4perl
|
|
_pkgreal=Log-Log4perl
|
|
pkgver=1.46
|
|
pkgrel=0
|
|
pkgdesc="Log4j implementation for Perl"
|
|
url="http://search.cpan.org/dist/Log-Log4perl/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends=""
|
|
cpanmakedepends="perl-log-dispatch perl-dbi"
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/$_pkgreal-$pkgver.tar.gz
|
|
026FileApp.t.patch"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make && make test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="d247d2327d7f32dca09cbeb51a953fc5 Log-Log4perl-1.46.tar.gz
|
|
2d147d25e318afb35df0c858a932191d 026FileApp.t.patch"
|
|
sha256sums="31011a17c04e78016e73eaa4865d0481d2ffc3dc22813c61065d90ad73c64e6f Log-Log4perl-1.46.tar.gz
|
|
0048ba7cd7be35e3eb160e39ccaa52fa30640fc0de24a842a38a72d5d449c8a3 026FileApp.t.patch"
|
|
sha512sums="f8e9b75eb8a3d0076069b370ab2ec455a9425fa7056e40ba2ba3d3a423489d650e1a28fd5d5e7bca57511a63f6a9dc2b438dacb10b028a955ecc3516fcf3ae45 Log-Log4perl-1.46.tar.gz
|
|
c82d96d4c1d7778a4338801f1a35c4d1b8cf2005798d22c378bcabb3c3743b2389c96b22dee119b9e345402d6d781b570c384428693cf4cf32cae3a9bbff2a6d 026FileApp.t.patch"
|