From c098292a90ca586f4b1c2a5fd66d034039d9565e Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 4 Dec 2015 17:14:05 +0000 Subject: perl/perl-NetPacket: Updated for version 1.6.0. Fixes build with perl-5.22. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- perl/perl-NetPacket/perl-NetPacket.SlackBuild | 19 +++++++++---------- perl/perl-NetPacket/perl-NetPacket.info | 6 +++--- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/perl/perl-NetPacket/perl-NetPacket.SlackBuild b/perl/perl-NetPacket/perl-NetPacket.SlackBuild index a76b2fa057cc..5d2e479e2c99 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 aa85afb50cfd..63bf98d84a9a 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="" -- cgit v1.2.3