summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-html-parser/perl-html-parser.SlackBuild21
-rw-r--r--perl/perl-html-parser/perl-html-parser.info7
2 files changed, 14 insertions, 14 deletions
diff --git a/perl/perl-html-parser/perl-html-parser.SlackBuild b/perl/perl-html-parser/perl-html-parser.SlackBuild
index 171cf1252d..1ba9083068 100644
--- a/perl/perl-html-parser/perl-html-parser.SlackBuild
+++ b/perl/perl-html-parser/perl-html-parser.SlackBuild
@@ -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 {} \;
diff --git a/perl/perl-html-parser/perl-html-parser.info b/perl/perl-html-parser/perl-html-parser.info
index 8127483be4..536d9b2fe3 100644
--- a/perl/perl-html-parser/perl-html-parser.info
+++ b/perl/perl-html-parser/perl-html-parser.info
@@ -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"