libraries/perl-html-parser: Updated for version 3.64

This commit is contained in:
LukenShiro 2010-05-13 00:32:49 +02:00 committed by Robby Workman
parent ff3c111d65
commit aa31dce044
4 changed files with 19 additions and 18 deletions

View file

@ -1,9 +1,8 @@
perl-html-parser - perl html parser module collection
It is a collection of perl modules that parse and extract
information from HTML documents. The modules present in this
collection are: HTML::Parser, HTML::Entities,
HTML::HeadParser, HTML::LinkExtor, HTML::PullParser,
This is a collection of perl modules that parse and extract information from
HTML documents. The modules present in this collection are: HTML::Parser,
HTML::Entities, HTML::HeadParser, HTML::LinkExtor, HTML::PullParser, and
HTML::TokeParser.
It requires: perl-html-tagset (available on SlackBuilds.org)
This requires perl-html-tagset.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-html-parser
VERSION=${VERSION:-3.60}
VERSION=${VERSION:-3.64}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -44,7 +44,7 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors
rm -rf $PKG
@ -63,7 +63,6 @@ find . \
echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor
make
make install DESTDIR=$PKG
#Move man-pages to appropriate place
@ -80,9 +79,10 @@ find $PKG -depth -type d -empty -exec rm -rf {} \;
# strip libraries
( cd $PKG
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
# compress man pages
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
@ -97,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="perl-html-parser"
VERSION="3.60"
VERSION="3.64"
HOMEPAGE="http://search.cpan.org/dist/HTML-Parser/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.60.tar.gz"
MD5SUM="fb97ea7e5bd832b079d8660732f9d8d9"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.64.tar.gz"
MD5SUM="26ceb6357e855b9e7aad5a5fd66d493e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
APPROVED="dsomero"
APPROVED="rworkman"

View file

@ -13,7 +13,7 @@ perl-html-parser: information from HTML documents. The modules present in this
perl-html-parser: collection are: HTML::Parser, HTML::Entities,
perl-html-parser: HTML::HeadParser, HTML::LinkExtor, HTML::PullParser,
perl-html-parser: HTML::TokeParser.
perl-html-parser:
perl-html-parser:
perl-html-parser:
perl-html-parser: Homepage: http://search.cpan.org/dist/HTML-Parser
perl-html-parser:
perl-html-parser:
perl-html-parser: