diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:54:22 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:54:22 (GMT) |
commit | ff0f7cee2dc2b420e257313fef663a3f78bbc800 (patch) | |
tree | 7af473b8667e5c685144e8123934878b79896412 /abs/core/perl_modules/perl-http-message | |
parent | 16a043fed17ea05b6d6ca012ff09b71008562790 (diff) | |
download | linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.zip linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.gz linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.bz2 |
perl_modules: updated to many to list
Diffstat (limited to 'abs/core/perl_modules/perl-http-message')
-rw-r--r-- | abs/core/perl_modules/perl-http-message/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-http-message/PKGBUILD b/abs/core/perl_modules/perl-http-message/PKGBUILD new file mode 100644 index 0000000..a743973 --- /dev/null +++ b/abs/core/perl_modules/perl-http-message/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> +# Generator : pbjam 0.01 +# $Id: PKGBUILD 150641 2012-02-19 01:25:44Z allan $ + +pkgname=perl-http-message +pkgver=6.03 +pkgrel=1 +pkgdesc="HTTP style messages" +arch=(any) +license=(PerlArtistic GPL) +options=('!emptydirs') +depends=('perl>=5.8.8' 'perl-encode-locale>=1' 'perl-html-parser>=3.33' + 'perl-http-date>=6' 'perl-lwp-mediatypes>=6' 'perl-uri>=1.10') +makedepends=() +checkdepends=() +conflicts=('perl-libwww<6') +url=http://search.cpan.org/dist/HTTP-Message +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.02.tar.gz) +md5sums=('a6b28e44f7b5e5573362f042d522a456') +sha512sums=('1091346307bf063ea6a65ddc8811da368d6080a11776fa5c4dc9df6beb9c8bc8cbe512fd711d44c43d4bd90a65c7195a1d3d5ed10257ef1e17d2145971d89c3c') +_distdir="${srcdir}/HTTP-Message-6.02" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "$_distdir" + make test + ) +} + +package() { + cd "$_distdir" + make DESTDIR="$pkgdir" install +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |