aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-02-06 22:59:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-02-06 22:59:25 -0300
commit8beb6e64aef1be1e4e99be21aad076a9d8fd6b3a (patch)
tree7b4cdfa0e033cd30455f82eef50f4ffd58b3811e
parent3dc30e6ba8b2ad3074b6a91289e4d92ea1db1ac2 (diff)
downloadaports-8beb6e64aef1be1e4e99be21aad076a9d8fd6b3a.tar.gz
aports-8beb6e64aef1be1e4e99be21aad076a9d8fd6b3a.tar.bz2
aports-8beb6e64aef1be1e4e99be21aad076a9d8fd6b3a.tar.xz
community/perl-log-log4perl: upgrade to 1.54
-rw-r--r--community/perl-log-log4perl/APKBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/community/perl-log-log4perl/APKBUILD b/community/perl-log-log4perl/APKBUILD
index 55c5667833..1d3ed55cf2 100644
--- a/community/perl-log-log4perl/APKBUILD
+++ b/community/perl-log-log4perl/APKBUILD
@@ -1,30 +1,29 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-log-log4perl
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Log-Log4perl
-pkgver=1.53
-pkgrel=1
+pkgver=1.54
+pkgrel=0
pkgdesc="Log4j implementation for Perl"
url="https://metacpan.org/release/Log-Log4perl/"
arch="noarch"
-license="Artistic-1.0-Perl AND GPL-1.0-or-later"
-makedepends="perl-dev perl-log-dispatch perl-dbi"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/E/ET/ETJ/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETJ/Log-Log4perl-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
-
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-}
-
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
}
@@ -33,4 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="6012966004fa255ff95dbfe91651761bd8b9282da31a59f11f28f73bdfe1dc6e17c219e9ef118c81e4458c6f576d74b05f101efd8c0a79e010cbed700de1f488 Log-Log4perl-1.53.tar.gz"
+sha512sums="689d389551a99108cbe83dbe56f08cb7d1a53483b9d19401be0c8d1aad050514ddbe02fe7f18f9649a5b113dc9a9c7d8aafc16066d5180cdd114b8293a2f98dc Log-Log4perl-1.54.tar.gz"