summaryrefslogtreecommitdiff
path: root/libraries/perl-html-parser/perl-html-parser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/perl-html-parser/perl-html-parser.SlackBuild')
-rw-r--r--libraries/perl-html-parser/perl-html-parser.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/perl-html-parser/perl-html-parser.SlackBuild b/libraries/perl-html-parser/perl-html-parser.SlackBuild
index 5937d721e3..a9cd19be9e 100644
--- a/libraries/perl-html-parser/perl-html-parser.SlackBuild
+++ b/libraries/perl-html-parser/perl-html-parser.SlackBuild
@@ -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}