diff options
-rw-r--r-- | testing/perl-io-multiplex/APKBUILD | 2 | ||||
-rw-r--r-- | testing/perl-parse-syslog/APKBUILD | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/testing/perl-io-multiplex/APKBUILD b/testing/perl-io-multiplex/APKBUILD index 9e03f039c..e5d9bc065 100644 --- a/testing/perl-io-multiplex/APKBUILD +++ b/testing/perl-io-multiplex/APKBUILD @@ -5,7 +5,7 @@ _realname=IO-Multiplex pkgver=1.10 pkgrel=0 pkgdesc="Manage IO on many file handles" -url="http://search.cpan.org/~rhandom/Net-Server-0.97/" +url="http://search.cpan.org/dist/IO-Multiplex/" license="unknown" depends="perl" makedepends="perl-dev" diff --git a/testing/perl-parse-syslog/APKBUILD b/testing/perl-parse-syslog/APKBUILD new file mode 100644 index 000000000..af6da0fed --- /dev/null +++ b/testing/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" |