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>
This commit is contained in:
David Spencer 2015-12-04 17:14:05 +00:00 committed by Willy Sudiarto Raharjo
parent 94a690b135
commit c098292a90
2 changed files with 12 additions and 13 deletions

View file

@ -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

View file

@ -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=""