aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-11-21 20:33:20 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-11-21 21:27:11 +0000
commitdbbd58e9927d5805f3c7b6fa4371103ffa768b57 (patch)
tree16bc5953c98a11fcd1242922b4fff3395332c2e6 /testing
parentff33a6fca2833e18bff220eb71d3e24769771aff (diff)
downloadaports-dbbd58e9927d5805f3c7b6fa4371103ffa768b57.tar.bz2
aports-dbbd58e9927d5805f3c7b6fa4371103ffa768b57.tar.xz
testing/perl-soap-lite: upgrade to 1.22, modernize APKBUILD
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-soap-lite/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/testing/perl-soap-lite/APKBUILD b/testing/perl-soap-lite/APKBUILD
index d477cd5d97..4c1c8ba1d7 100644
--- a/testing/perl-soap-lite/APKBUILD
+++ b/testing/perl-soap-lite/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-soap-lite
_pkgreal=SOAP-Lite
-pkgver=1.20
+pkgver=1.22
pkgrel=0
pkgdesc="Perl's Web Services Toolkit"
url="http://search.cpan.org/dist/SOAP-Lite/"
@@ -12,32 +12,29 @@ license="GPL PerlArtistic"
cpandepends="perl-class-inspector perl-xml-parser perl-task-weaken perl-uri perl-http-daemon
perl-libwww perl-test-warn perl-test-mockobject perl-mime-tools perl-io-socket-ssl
perl-lwp-protocol-https perl-io-sessiondata perl-xml-simple"
-cpanmakedepends=" "
+cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="b49632017cb5ba43c85d60cbe638af07 SOAP-Lite-1.20.tar.gz"
-sha256sums="7e8761be631a1790e3a3578c0a4ff4fdabb5a26089c23bde35f8ba46dbe321e1 SOAP-Lite-1.20.tar.gz"
-sha512sums="f83ad0224a774eb817a7e9556cf1f2eff8666a7d3cb1e16134e0038940afe4192965de7f2a5f7c5cbda78b52b165a239e57c1d79faf5fd0b8c497f2baf941398 SOAP-Lite-1.20.tar.gz"
+sha512sums="c5483cf4889e5f2803f879c69db2a2e672c6ef1cc8bd24546f91ac0a49878330f8202def35448fdeed498f3be69fd85a2b98cf4851c2f72a7dc834f254589ff1 SOAP-Lite-1.22.tar.gz"