diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-04 17:14:05 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | c098292a90ca586f4b1c2a5fd66d034039d9565e (patch) | |
tree | 28951b3314ac32871d2576c6b8e921d2f2ca4569 /perl/perl-NetPacket/perl-NetPacket.SlackBuild | |
parent | 94a690b1353a6b6d90fb1ce9ffa00a51fa9284ad (diff) | |
download | slackbuilds-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/perl-NetPacket/perl-NetPacket.SlackBuild')
-rw-r--r-- | perl/perl-NetPacket/perl-NetPacket.SlackBuild | 19 |
1 files changed, 9 insertions, 10 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 |