aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-log-dispatch-config
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 12:10:19 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 12:13:12 +0000
commit70efc26cc478b4f26a4073630a88a86bbba89ed9 (patch)
tree25d5430162e1d79f12eaeb7b32d2e3003e296552 /community/perl-log-dispatch-config
parent0f88cd87d9d1b7bb66f429838d41c9ff042f9fe7 (diff)
downloadaports-70efc26cc478b4f26a4073630a88a86bbba89ed9.tar.bz2
aports-70efc26cc478b4f26a4073630a88a86bbba89ed9.tar.xz
community/perl-log-dispatch-config: moved from unmaintained
Diffstat (limited to 'community/perl-log-dispatch-config')
-rw-r--r--community/perl-log-dispatch-config/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-log-dispatch-config/APKBUILD b/community/perl-log-dispatch-config/APKBUILD
new file mode 100644
index 0000000000..6de0768f44
--- /dev/null
+++ b/community/perl-log-dispatch-config/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-log-dispatch-config
+_pkgreal=Log-Dispatch-Config
+pkgver=1.04
+pkgrel=1
+pkgdesc="Perl module for Log-Dispatch-Config"
+url="http://search.cpan.org/dist/Log-Dispatch-Config/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends perl-log-dispatch perl-io-stringy perl-appconfig"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ 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="ac6f91b838743adb3a47cb09bf8defe5 Log-Dispatch-Config-1.04.tar.gz"
+sha256sums="5a48c583dc87b079bf143a07fa6a73832ff02935617e21578269bc4959130b04 Log-Dispatch-Config-1.04.tar.gz"
+sha512sums="827b767806b206f244955f8f57b7206f84aac75012ec6443fb0c427e0fb0e52cad112cc012bd5c43a1e4a82d9fd49adb7bd024130579754dbe0ad4a2218460ef Log-Dispatch-Config-1.04.tar.gz"