summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-04 17:14:05 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitc098292a90ca586f4b1c2a5fd66d034039d9565e (patch)
tree28951b3314ac32871d2576c6b8e921d2f2ca4569 /perl
parent94a690b1353a6b6d90fb1ce9ffa00a51fa9284ad (diff)
downloadslackbuilds-c098292a90ca586f4b1c2a5fd66d034039d9565e.tar.gz
perl/perl-NetPacket: Updated for version 1.6.0.
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-NetPacket/perl-NetPacket.SlackBuild19
-rw-r--r--perl/perl-NetPacket/perl-NetPacket.info6
2 files changed, 12 insertions, 13 deletions
diff --git a/perl/perl-NetPacket/perl-NetPacket.SlackBuild b/perl/perl-NetPacket/perl-NetPacket.SlackBuild
index a76b2fa057..5d2e479e2c 100644
--- a/perl/perl-NetPacket/perl-NetPacket.SlackBuild
+++ b/perl/perl-NetPacket/perl-NetPacket.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-NetPacket
-VERSION=${VERSION:-1.4.3}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,15 +72,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
-./Build
-./Build test
-./Build install install_base=$PKG/usr
-
-# sigh...
-if [ ! -z "${LIBDIRSUFFIX}" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
-fi
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/perl/perl-NetPacket/perl-NetPacket.info b/perl/perl-NetPacket/perl-NetPacket.info
index aa85afb50c..63bf98d84a 100644
--- a/perl/perl-NetPacket/perl-NetPacket.info
+++ b/perl/perl-NetPacket/perl-NetPacket.info
@@ -1,8 +1,8 @@
PRGNAM="perl-NetPacket"
-VERSION="1.4.3"
+VERSION="1.6.0"
HOMEPAGE="https://metacpan.org/pod/NetPacket"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/NetPacket-1.4.3.tar.gz"
-MD5SUM="9ca7dfe00957a3bcb54f3bb10671eaef"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/Y/YA/YANICK/NetPacket-1.6.0.tar.gz"
+MD5SUM="17ba0407dada096f046f513387e88818"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""