aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-email-date-format
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-02 15:00:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-02 15:00:33 +0000
commit183197bb707812f230d9e1f83616cae3ae9cae07 (patch)
tree39c8aaece007dfc8aaffe0d53eaf437a0a10b04f /main/perl-email-date-format
parent22aa5256cbd7e5af0b8cc59b2c2363b71a5a80f5 (diff)
downloadaports-183197bb707812f230d9e1f83616cae3ae9cae07.tar.bz2
aports-183197bb707812f230d9e1f83616cae3ae9cae07.tar.xz
main/perl-email-date-format: new aport
produce RFC 8822 date strings http://search.cpan.org/dist/Email-Date-Format/
Diffstat (limited to 'main/perl-email-date-format')
-rw-r--r--main/perl-email-date-format/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-email-date-format/APKBUILD b/main/perl-email-date-format/APKBUILD
new file mode 100644
index 0000000000..b35b77ca53
--- /dev/null
+++ b/main/perl-email-date-format/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-email-date-format
+_pkgreal=Email-Date-Format
+pkgver=1.002
+pkgrel=0
+pkgdesc="produce RFC 8822 date strings"
+url="http://search.cpan.org/dist/Email-Date-Format/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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="7ae25275da6ab272aa8b40141eac9f82 Email-Date-Format-1.002.tar.gz"