diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-05 08:24:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-05 08:25:16 +0000 |
commit | c051791dabdbf41ae27907df899ffafb555d07f8 (patch) | |
tree | 630559d336d30132fba00b73758b350cba14912a /main/perl-plack | |
parent | cf9c664c9474000794344ba53aa980f074eaf4fa (diff) | |
download | aports-c051791dabdbf41ae27907df899ffafb555d07f8.tar.bz2 aports-c051791dabdbf41ae27907df899ffafb555d07f8.tar.xz |
main/perl-plack: upgrade to 1.0033
Diffstat (limited to 'main/perl-plack')
-rw-r--r-- | main/perl-plack/APKBUILD | 50 |
1 files changed, 19 insertions, 31 deletions
diff --git a/main/perl-plack/APKBUILD b/main/perl-plack/APKBUILD index cb072e93d7..9abffa014b 100644 --- a/main/perl-plack/APKBUILD +++ b/main/perl-plack/APKBUILD @@ -1,45 +1,33 @@ +# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-plack -pkgver=1.0031 +_pkgreal=Plack +pkgver=1.0033 pkgrel=0 -pkgdesc="Plack perl module" +pkgdesc="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)" url="http://search.cpan.org/dist/Plack/" arch="noarch" -license="GPLv2 or Artistic" -depends="perl - perl-devel-stacktrace - perl-devel-stacktrace-ashtml - perl-file-sharedir-install - perl-filesys-notify-simple - perl-http-body - perl-test-tcp - perl-hash-multivalue - perl-libwww - perl-try-tiny - perl-uri - perl-stream-buffered - " -makedepends="perl-dev perl-test-requires" -install="" +license="GPL PerlArtistic" +cpandepends="perl-file-sharedir perl-filesys-notify-simple perl-devel-stacktrace perl-stream-buffered perl-uri perl-devel-stacktrace-ashtml perl-http-body perl-test-tcp perl-try-tiny perl-apache-logformat-compiler perl-hash-multivalue perl-http-message" +cpanmakedepends=" perl-test-requires " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" -_builddir="$srcdir"/Plack-$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() { @@ -48,6 +36,6 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="1fec97d69a0b3684897a981847cc4d91 Plack-1.0031.tar.gz" -sha256sums="318caccfac13f265d098a34ec7493a557f7a867d41939edfa3491c3374bf776f Plack-1.0031.tar.gz" -sha512sums="4d58dc961431e2a102975848958702f25cf4ab51589ca2ec1895a65103663b05ae1fb1be1479fbfb1f2c5ac7f630d210f4316358fc8c94b88a86361caabe6214 Plack-1.0031.tar.gz" +md5sums="41292d3c33f637773369daeac86a48b8 Plack-1.0033.tar.gz" +sha256sums="bcd8784b8263bd6d68476e9d52e6f98819bd4f3331455cad12effed63a783220 Plack-1.0033.tar.gz" +sha512sums="bb9335605a103380b06932289d6e99ae9cf58e98fd889542373ef2509269a6e251f1908c168482c455b5b590c8a883072b08c3a7fbfe6596ec60d699e71b2c33 Plack-1.0033.tar.gz" |