aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-parse-syslog/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-03 10:40:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-03 10:40:12 +0000
commit97f8ecee5b90f72ea183a41a76e2d72ed4a41db6 (patch)
treee69a7f3c5749a78a0ce974c6a208f8f4663fe4c5 /main/perl-parse-syslog/APKBUILD
parent651a02df9321f2b131eacdee76feb6ca89456746 (diff)
downloadaports-97f8ecee5b90f72ea183a41a76e2d72ed4a41db6.tar.bz2
aports-97f8ecee5b90f72ea183a41a76e2d72ed4a41db6.tar.xz
main/postgrey: moved from testing, incl dependencies
Trying to clean up the mess.
Diffstat (limited to 'main/perl-parse-syslog/APKBUILD')
-rw-r--r--main/perl-parse-syslog/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/perl-parse-syslog/APKBUILD b/main/perl-parse-syslog/APKBUILD
new file mode 100644
index 0000000000..af6da0feda
--- /dev/null
+++ b/main/perl-parse-syslog/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=perl-parse-syslog
+_realname=Parse-Syslog
+pkgver=1.10
+pkgrel=0
+pkgdesc="Parse Unix syslog files"
+url="http://search.cpan.org/~dschwei/Parse-Syslog-1.10/"
+license="unknown"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DS/DSCHWEI/$_realname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="e1c4c03aaa7cb8d2baa52f294dd9accc Parse-Syslog-1.10.tar.gz"