aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2011-12-14 12:59:14 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-18 00:07:48 -0200
commita9503a8b2855f3303636c5409031cdf751376b39 (patch)
tree5625d3bf57f3a4680fd35f177b8550bd92f10e4f /perl
parent96fbe16da0964b96edf345c26bd095f7171c7b0b (diff)
perl/perl-html-parser: Updated for version 3.69.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl')
-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 171cf1252daeb..1ba9083068180 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 8127483be4f56..536d9b2fe3a97 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"