summaryrefslogtreecommitdiffstats
path: root/perl/perl-Path-Class/perl-Path-Class.SlackBuild
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2015-12-04 17:15:44 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit0e392c034870103c67cded61d30043c194f8bbf7 (patch)
tree22a4cb701de7e3fd2a6d95304782aa7aced74a97 /perl/perl-Path-Class/perl-Path-Class.SlackBuild
parentbbe0416592a628b3b80991903a5b29dcb5962229 (diff)
downloadslackbuilds-0e392c034870103c67cded61d30043c194f8bbf7.tar.gz
slackbuilds-0e392c034870103c67cded61d30043c194f8bbf7.tar.xz
perl/perl-Path-Class: Updated for version 0.35.
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-Path-Class/perl-Path-Class.SlackBuild')
-rw-r--r--perl/perl-Path-Class/perl-Path-Class.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/perl/perl-Path-Class/perl-Path-Class.SlackBuild b/perl/perl-Path-Class/perl-Path-Class.SlackBuild
index b0d4be0d73..1da00f63fa 100644
--- a/perl/perl-Path-Class/perl-Path-Class.SlackBuild
+++ b/perl/perl-Path-Class/perl-Path-Class.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Path-Class
-VERSION=${VERSION:-0.33}
+VERSION=${VERSION:-0.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,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 \
- prefix=/usr \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path bindoc=/usr/man/man1 \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true