perl/perl-html-parser: Updated for version 3.69.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
LukenShiro 2011-12-14 12:59:14 -06:00 committed by Niels Horn
parent 96fbe16da0
commit a9503a8b28
2 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for perl-html-parser
# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it>
# Copyright 2008-2011 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-html-parser
VERSION=${VERSION:-3.68}
VERSION=${VERSION:-3.69}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRC_PRGNAM=HTML-Parser
SRCNAM=HTML-Parser
DOCFILES="TODO Changes README"
# LIBDIRSUFFIX not used
@ -59,9 +59,9 @@ set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
cd $SRC_PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -70,14 +70,15 @@ find . \
-exec chmod 644 {} \;
echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL \
INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
# compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;

View File

@ -1,10 +1,9 @@
PRGNAM="perl-html-parser"
VERSION="3.68"
VERSION="3.69"
HOMEPAGE="http://search.cpan.org/dist/HTML-Parser/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.68.tar.gz"
MD5SUM="5550b2da7aa94341f1e8a17a4ac20c68"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.69.tar.gz"
MD5SUM="d22cc6468ce670a56034be907e4e7c54"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
APPROVED="rworkman"