summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-25 08:29:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-25 08:29:12 +0000
commitfc56934fa0da8b1b1753380ac743a9333487ae6b (patch)
tree3e6f5735483b8fa619afc4d7f8d46994fb722afd /main
parent738411400e72142ba16907b2de96fe3396fa597b (diff)
parent424d6b11ce44cb1de6fed01555ede7362fe73501 (diff)
downloadaports-fc56934fa0da8b1b1753380ac743a9333487ae6b.tar.bz2
aports-fc56934fa0da8b1b1753380ac743a9333487ae6b.tar.xz
Merge remote branch 'larena/master'
Diffstat (limited to 'main')
-rw-r--r--main/perl-date-calc/APKBUILD25
-rw-r--r--main/pflogsumm/APKBUILD20
2 files changed, 45 insertions, 0 deletions
diff --git a/main/perl-date-calc/APKBUILD b/main/perl-date-calc/APKBUILD
new file mode 100644
index 000000000..fa5ed41d4
--- /dev/null
+++ b/main/perl-date-calc/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=perl-date-calc
+_realname=Date-Calc
+pkgver=6.3
+pkgrel=0
+pkgdesc="Perl module for Gregorian calendar date calculations"
+url="http://search.cpan.org/~jaslong/Mail-DKIM-0.36/"
+license="Perl Artistic GPL"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_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 UNINST=1
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="9b64555b7051c1beb6b61daead2d01b3 Date-Calc-6.3.tar.gz"
diff --git a/main/pflogsumm/APKBUILD b/main/pflogsumm/APKBUILD
new file mode 100644
index 000000000..7939299a5
--- /dev/null
+++ b/main/pflogsumm/APKBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=pflogsumm
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Pflogsumm is a log analyzer for Postfix logs"
+url="http://jimsun.linxnet.com/postfix_contrib.html"
+license="GPL-2"
+depends="perl perl-date-calc"
+subpackages="$pkgname-doc"
+source="http://jimsun.linxnet.com/downloads/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ install -D -m644 pflogsumm.1 "$pkgdir"/usr/share/man/man1/pflogsumm.1
+ install -D -m755 pflogsumm.pl "$pkgdir"/usr/bin/pflogsumm
+}
+
+md5sums="2f570477b2e205f9dfc1df13f00b5c0d pflogsumm-1.1.1.tar.gz"