aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-http-message
diff options
context:
space:
mode:
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"