aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-http-message/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2012-02-22 15:12:08 -0500
committerKiyoshi Aman <aphrael@alpinelinux.org>2012-02-22 15:12:45 -0500
commit1a95482f7156c9db681c1c0a67d9da6bbda59212 (patch)
treee8f7adf0a1c2b8defc51a51239e747a7df8256c0 /main/perl-http-message/APKBUILD
parent84aab25579948b5233368e5c57132b63faf245db (diff)
downloadaports-1a95482f7156c9db681c1c0a67d9da6bbda59212.tar.bz2
aports-1a95482f7156c9db681c1c0a67d9da6bbda59212.tar.xz
main/perl-http-message: Regenerate APKBUILD and update to 6.03
Diffstat (limited to 'main/perl-http-message/APKBUILD')
-rw-r--r--main/perl-http-message/APKBUILD42
1 files changed, 20 insertions, 22 deletions
diff --git a/main/perl-http-message/APKBUILD b/main/perl-http-message/APKBUILD
index 22aa01ef3e..b3d8d3fb71 100644
--- a/main/perl-http-message/APKBUILD
+++ b/main/perl-http-message/APKBUILD
@@ -1,35 +1,33 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-http-message
-pkgver=6.02
-pkgrel=2
-pkgdesc="HTTP::Message perl module"
+_pkgreal=HTTP-Message
+pkgver=6.03
+pkgrel=0
+pkgdesc="HTTP style messages"
url="http://search.cpan.org/dist/HTTP-Message/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl perl-uri perl-html-parser perl-encode-locale perl-lwp-mediatypes
- perl-http-date"
-makedepends="perl-dev"
-install=""
-replaces="perl-libwww"
+license="GPL PerlArtistic"
+cpandepends="perl-http-date perl-uri perl-html-parser perl-encode-locale perl-lwp-mediatypes"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/HTTP-Message-$pkgver
prepare() {
- local i
cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -38,4 +36,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="a6b28e44f7b5e5573362f042d522a456 HTTP-Message-6.02.tar.gz"
+md5sums="d41b22c7c01b974f2b4e85d401a6b552 HTTP-Message-6.03.tar.gz"