aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/perl-log-dispatch/APKBUILD33
1 files changed, 16 insertions, 17 deletions
diff --git a/main/perl-log-dispatch/APKBUILD b/main/perl-log-dispatch/APKBUILD
index 00684f0b5d..5c3d0f6c1c 100644
--- a/main/perl-log-dispatch/APKBUILD
+++ b/main/perl-log-dispatch/APKBUILD
@@ -1,33 +1,32 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-log-dispatch
-pkgver=2.27
+_pkgreal=Log-Dispatch
+pkgver=2.29
pkgrel=0
pkgdesc="Dispatches messages to one or more outputs"
url="http://search.cpan.org/dist/Log-Dispatch/"
arch="noarch"
-license="Artistic 2.0"
-depends="perl perl-params-validate"
-makedepends="perl-dev"
-install=""
+license="Artistic-2"
+cpandepends="perl-params-validate"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev perl-module-implementation $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Log-Dispatch-$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
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -36,4 +35,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="6bd3420ef0df39f2e32fbbe6b57a1db8 Log-Dispatch-2.27.tar.gz"
+md5sums="781a4b5a9db2b617d2487dadecf65081 Log-Dispatch-2.29.tar.gz"