diff options
Diffstat (limited to 'main/perl-parse-syslog')
-rw-r--r-- | main/perl-parse-syslog/APKBUILD | 26 |
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" |