summaryrefslogtreecommitdiff
path: root/libraries/perl-html-parser
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/perl-html-parser')
-rw-r--r--libraries/perl-html-parser/README9
-rw-r--r--libraries/perl-html-parser/perl-html-parser.SlackBuild12
-rw-r--r--libraries/perl-html-parser/perl-html-parser.info10
-rw-r--r--libraries/perl-html-parser/slack-desc6
4 files changed, 19 insertions, 18 deletions
diff --git a/libraries/perl-html-parser/README b/libraries/perl-html-parser/README
index f8b307ef4b..db48009c6a 100644
--- a/libraries/perl-html-parser/README
+++ b/libraries/perl-html-parser/README
@@ -1,9 +1,8 @@
perl-html-parser - perl html parser module collection
-It is a collection of perl modules that parse and extract
-information from HTML documents. The modules present in this
-collection are: HTML::Parser, HTML::Entities,
-HTML::HeadParser, HTML::LinkExtor, HTML::PullParser,
+This is a collection of perl modules that parse and extract information from
+HTML documents. The modules present in this collection are: HTML::Parser,
+HTML::Entities, HTML::HeadParser, HTML::LinkExtor, HTML::PullParser, and
HTML::TokeParser.
-It requires: perl-html-tagset (available on SlackBuilds.org)
+This requires perl-html-tagset.
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}
diff --git a/libraries/perl-html-parser/perl-html-parser.info b/libraries/perl-html-parser/perl-html-parser.info
index a3037b83d0..0ea899f795 100644
--- a/libraries/perl-html-parser/perl-html-parser.info
+++ b/libraries/perl-html-parser/perl-html-parser.info
@@ -1,8 +1,10 @@
PRGNAM="perl-html-parser"
-VERSION="3.60"
+VERSION="3.64"
HOMEPAGE="http://search.cpan.org/dist/HTML-Parser/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.60.tar.gz"
-MD5SUM="fb97ea7e5bd832b079d8660732f9d8d9"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.64.tar.gz"
+MD5SUM="26ceb6357e855b9e7aad5a5fd66d493e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="dsomero"
+APPROVED="rworkman"
diff --git a/libraries/perl-html-parser/slack-desc b/libraries/perl-html-parser/slack-desc
index 4d0bf85125..c7bdf9da0e 100644
--- a/libraries/perl-html-parser/slack-desc
+++ b/libraries/perl-html-parser/slack-desc
@@ -13,7 +13,7 @@ perl-html-parser: information from HTML documents. The modules present in this
perl-html-parser: collection are: HTML::Parser, HTML::Entities,
perl-html-parser: HTML::HeadParser, HTML::LinkExtor, HTML::PullParser,
perl-html-parser: HTML::TokeParser.
-perl-html-parser:
-perl-html-parser:
+perl-html-parser:
perl-html-parser: Homepage: http://search.cpan.org/dist/HTML-Parser
-perl-html-parser:
+perl-html-parser:
+perl-html-parser: