summaryrefslogtreecommitdiff
path: root/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
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/perl-Test-TCP/perl-Test-TCP.SlackBuild
parentc3c747fca66a04ab9c9cb6163c4b9f34ce9bb836 (diff)
downloadslackbuilds-6d16bc8f790da3d816f54f0bd52a3ef1688db65b.tar.gz
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/perl-Test-TCP/perl-Test-TCP.SlackBuild')
-rw-r--r--perl/perl-Test-TCP/perl-Test-TCP.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
index d7d555e061..64d05f07b7 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