diff options
Diffstat (limited to 'perl/perl-html-parser/perl-html-parser.SlackBuild')
-rw-r--r-- | perl/perl-html-parser/perl-html-parser.SlackBuild | 21 |
1 files changed, 11 insertions, 10 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 {} \; |