aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-04 17:21:00 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit6d16bc8f790da3d816f54f0bd52a3ef1688db65b (patch)
tree5d87f68ebb0280bc08851ed2900fdd5728636158 /perl
parentc3c747fca66a04ab9c9cb6163c4b9f34ce9bb836 (diff)
perl/perl-Test-TCP: Updated for version 2.14.
Fixes build with perl-5.22. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Test-TCP/perl-Test-TCP.SlackBuild19
-rw-r--r--perl/perl-Test-TCP/perl-Test-TCP.info6
2 files changed, 12 insertions, 13 deletions
diff --git a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
index d7d555e061747..64d05f07b79ac 100644
--- a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
+++ b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="perl-Test-TCP"
-VERSION=${VERSION:-2.02}
+VERSION=${VERSION:-2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,15 +63,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-perl Build.PL \
- prefix=/usr \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path bindoc=/usr/man/man1 \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
### putting essential docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/perl/perl-Test-TCP/perl-Test-TCP.info b/perl/perl-Test-TCP/perl-Test-TCP.info
index 78a34e1ef4d96..379349a68d3b7 100644
--- a/perl/perl-Test-TCP/perl-Test-TCP.info
+++ b/perl/perl-Test-TCP/perl-Test-TCP.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Test-TCP"
-VERSION="2.02"
+VERSION="2.14"
HOMEPAGE="https://metacpan.org/pod/Test::TCP"
-DOWNLOAD="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.02.tar.gz"
-MD5SUM="9014b0858868530a0786ddf4b1c9b151"
+DOWNLOAD="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.14.tar.gz"
+MD5SUM="402e78138e3269dde973960dd3d44d09"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Test-SharedFork"