summaryrefslogtreecommitdiff
path: root/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-07 18:08:02 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:42 -0600
commitb8044ddbbd042c125a9f60db05f127a65e2817d1 (patch)
tree3988ac03f01eb60b0878ccf587db83331807d12b /perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
parent03e5fd53c252b20511f96d20b93c5ff7c35d964d (diff)
downloadslackbuilds-b8044ddbbd042c125a9f60db05f127a65e2817d1.tar.gz
perl/perl-HTML-Tree: Updated for version 5.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild')
-rw-r--r--perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
index f72cd34744..5a20ed6b15 100644
--- a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
+++ b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-HTML-Tree
-VERSION=${VERSION:-4.2}
+VERSION=${VERSION:-5.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,14 +74,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN1DIR=/usr/man/man1 \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-make
-make test
-make install DESTDIR=$PKG
+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
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true