diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-05-13 00:32:49 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:32:49 +0200 |
commit | aa31dce044ab30a0d3f180fd94177f5b6d6e4beb (patch) | |
tree | 383777f5b7f6292061211e230a10d63f58e0c837 /libraries/perl-html-parser/perl-html-parser.SlackBuild | |
parent | ff3c111d65671caac9c998f2f39f11cedcd5da45 (diff) | |
download | slackbuilds-aa31dce044ab30a0d3f180fd94177f5b6d6e4beb.tar.gz |
libraries/perl-html-parser: Updated for version 3.64
Diffstat (limited to 'libraries/perl-html-parser/perl-html-parser.SlackBuild')
-rw-r--r-- | libraries/perl-html-parser/perl-html-parser.SlackBuild | 12 |
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} |