aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-tcp
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-11-11 12:38:28 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-11-11 12:38:28 +0100
commit49f7cb49496170705aebf581a3833ccd0ac0a30f (patch)
tree5045e7929061683a3023b496b59023bb594a31aa /main/perl-test-tcp
parent8232934a8d14b8500a91ccaed3cec0eaf11e0fde (diff)
downloadaports-49f7cb49496170705aebf581a3833ccd0ac0a30f.tar.bz2
aports-49f7cb49496170705aebf581a3833ccd0ac0a30f.tar.xz
main/perl-test-tcp: upgrade to 2.14
Diffstat (limited to 'main/perl-test-tcp')
-rw-r--r--main/perl-test-tcp/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/perl-test-tcp/APKBUILD b/main/perl-test-tcp/APKBUILD
index 6549bb48bd..4ee37e507a 100644
--- a/main/perl-test-tcp/APKBUILD
+++ b/main/perl-test-tcp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-tcp
_pkgreal=Test-TCP
-pkgver=2.02
+pkgver=2.14
pkgrel=0
pkgdesc="testing TCP program"
url="http://search.cpan.org/dist/Test-TCP/"
@@ -11,7 +11,7 @@ license="GPL PerlArtistic"
cpandepends="perl-test-sharedfork"
cpanmakedepends=" "
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz"
@@ -19,22 +19,21 @@ _builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- ./Build && ./Build test
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make || return 1
}
package() {
cd "$_builddir"
- ./Build install destdir="$pkgdir" || return 1
+ make install DESTDIR=$pkgdir || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="9014b0858868530a0786ddf4b1c9b151 Test-TCP-2.02.tar.gz"
-sha256sums="6202356c1af56d58f21a4fc48592d0a51a75c985dbfda4e4e64961c1434b4bac Test-TCP-2.02.tar.gz"
-sha512sums="acaa87710f1c6afab6b444027b55fd46dfcdfacb3f1b8e42156047b4fef5e605e02c1faf03b7a8cb6d3cfd3c064ee288d93c8302fca7a86e8e138c83437d7700 Test-TCP-2.02.tar.gz"
+md5sums="402e78138e3269dde973960dd3d44d09 Test-TCP-2.14.tar.gz"
+sha256sums="b96a3f364748280146fa30a129c72c104133f6768872788b688ea88d4f7d7d01 Test-TCP-2.14.tar.gz"
+sha512sums="89c6038ff2660ce8a17001f5574313325bad593f93a6e22e78f46772fe898556fcb9e11e07fa7ecd342703fd246033e242c857e8773c90230fab29c5f677dc03 Test-TCP-2.14.tar.gz"