summaryrefslogtreecommitdiff
path: root/perl/perl-NetPacket
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-NetPacket')
-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=""