diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-06-01 07:12:06 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-06-01 07:12:06 +0000 |
commit | 1f5334c9cb48e626c7612a7bab8c0f69dc681c33 (patch) | |
tree | a3495cd2832b0a6b36dd446c6501e4da56a05839 | |
parent | 456331961d9c6e5ec5a59ed281625754af464ade (diff) | |
download | aports-1f5334c9cb48e626c7612a7bab8c0f69dc681c33.tar.bz2 aports-1f5334c9cb48e626c7612a7bab8c0f69dc681c33.tar.xz |
main/perl-http-message: new aport
-rw-r--r-- | main/perl-http-message/APKBUILD | 32 |
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 000000000..8e36c27ea --- /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" |