aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-test-tcp/APKBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/main/perl-test-tcp/APKBUILD b/main/perl-test-tcp/APKBUILD
index 4ee37e507a..5155c95b56 100644
--- a/main/perl-test-tcp/APKBUILD
+++ b/main/perl-test-tcp/APKBUILD
@@ -2,38 +2,31 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-tcp
_pkgreal=Test-TCP
-pkgver=2.14
+pkgver=2.19
pkgrel=0
-pkgdesc="testing TCP program"
+pkgdesc="Testing TCP program"
url="http://search.cpan.org/dist/Test-TCP/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-test-sharedfork"
-cpanmakedepends=" "
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends perl-module-build"
+makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- make || return 1
+ make
}
package() {
- cd "$_builddir"
- make install DESTDIR=$pkgdir || return 1
+ cd "$builddir"
+ make install DESTDIR=$pkgdir
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="402e78138e3269dde973960dd3d44d09 Test-TCP-2.14.tar.gz"
-sha256sums="b96a3f364748280146fa30a129c72c104133f6768872788b688ea88d4f7d7d01 Test-TCP-2.14.tar.gz"
-sha512sums="89c6038ff2660ce8a17001f5574313325bad593f93a6e22e78f46772fe898556fcb9e11e07fa7ecd342703fd246033e242c857e8773c90230fab29c5f677dc03 Test-TCP-2.14.tar.gz"
+sha512sums="1de76f5dc456697d8ea0799bb60d858b0e1c0089f066d1a446c46708e6cb3441849e264526082a066c31519ded4731cde9310b8a493f571ed670c2fbb60a3e85 Test-TCP-2.19.tar.gz"