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>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-07 18:08:02 +07:00 committed by Robby Workman
parent 03e5fd53c2
commit b8044ddbbd
3 changed files with 15 additions and 14 deletions

View File

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

View File

@ -1,8 +1,8 @@
PRGNAM="perl-HTML-Tree"
VERSION="4.2"
HOMEPAGE="http://search.cpan.org/~jfearn/HTML-Tree-4.2/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/HTML-Tree-4.2.tar.gz"
MD5SUM="a145ad037ac54b6192c0046383d267da"
VERSION="5.03"
HOMEPAGE="http://search.cpan.org/~cjm/HTML-Tree-5.03/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/HTML-Tree-5.03.tar.gz"
MD5SUM="d9271d60b872ed6fbe68b2d0fe8c450e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Test-Exception perl-html-parser"

View File

@ -12,7 +12,7 @@ perl-HTML-Tree: HTML-Tree is a suite of Perl modules for making parse trees out
perl-HTML-Tree: HTML source. It consists of mainly two modules, whose documentation
perl-HTML-Tree: you should refer to: HTML::TreeBuilder and HTML::Element.
perl-HTML-Tree:
perl-HTML-Tree: Homepage: http://search.cpan.org/~jfearn/HTML-Tree-4.2/
perl-HTML-Tree: Homepage: http://search.cpan.org/~cjm/HTML-Tree-5.03/
perl-HTML-Tree:
perl-HTML-Tree:
perl-HTML-Tree: