aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-http-message
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-06-01 07:12:06 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-06-01 07:12:06 +0000
commit1f5334c9cb48e626c7612a7bab8c0f69dc681c33 (patch)
treea3495cd2832b0a6b36dd446c6501e4da56a05839 /main/perl-http-message
parent456331961d9c6e5ec5a59ed281625754af464ade (diff)
downloadaports-1f5334c9cb48e626c7612a7bab8c0f69dc681c33.tar.bz2
aports-1f5334c9cb48e626c7612a7bab8c0f69dc681c33.tar.xz
main/perl-http-message: new aport
Diffstat (limited to 'main/perl-http-message')
-rw-r--r--main/perl-http-message/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/perl-http-message/APKBUILD b/main/perl-http-message/APKBUILD
new file mode 100644
index 0000000000..8e36c27eab
--- /dev/null
+++ b/main/perl-http-message/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Leonardo Arena <rnalrd@gmail.com>
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=perl-http-message
+_realname=HTTP-Message
+pkgver=6.02
+pkgrel=0
+pkgdesc="Perl World Wide Web library"
+url="http://search.cpan.org/~gaas"
+arch="noarch"
+license="GPL PerlArtistic"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_realname-$pkgver"
+
+build() {
+ cd $_builddir
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd $_builddir
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="a6b28e44f7b5e5573362f042d522a456 HTTP-Message-6.02.tar.gz"