aboutsummaryrefslogtreecommitdiff
path: root/libraries/perl-xml-libxml
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-13 00:32:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:32:57 +0200
commit178abcacf13d71040b4a78be4a4b1ce512b1ba51 (patch)
tree3a790626b7c073e509dfe61ae6991c1bbd47e549 /libraries/perl-xml-libxml
parentd2fb718fb870252a7c20d83de7bfcb01dab1a2da (diff)
libraries/perl-xml-libxml: Updated for version 1.64
Diffstat (limited to 'libraries/perl-xml-libxml')
-rw-r--r--libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild13
-rw-r--r--libraries/perl-xml-libxml/perl-xml-libxml.info2
2 files changed, 7 insertions, 8 deletions
diff --git a/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild b/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
index 68ab54c20839..fd5f45d6f21f 100644
--- a/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
+++ b/libraries/perl-xml-libxml/perl-xml-libxml.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=perl-xml-libxml
SRCNAM=XML-LibXML
VERSION=1.64
-ARCH=noarch
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -41,12 +41,9 @@ make \
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
-
-# Remove perlocal.pod and .packlist from $PKG
-( for i in perllocal.pod .packlist; do
- find $PKG -name "$i" -exec rm -f {} \;
- done
-) || exit 1
+( cd $PKG
+ find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+)
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
@@ -60,4 +57,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-xml-libxml/perl-xml-libxml.info b/libraries/perl-xml-libxml/perl-xml-libxml.info
index 11e7257977ca..15157a4faf9d 100644
--- a/libraries/perl-xml-libxml/perl-xml-libxml.info
+++ b/libraries/perl-xml-libxml/perl-xml-libxml.info
@@ -2,7 +2,9 @@ PRGNAM="perl-xml-libxml"
VERSION="1.64"
HOMEPAGE="http://search.cpan.org/~pajas/XML-LibXML-1.64/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.64.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="563a685d2aad2ace13a55acfeb818912"
+MD5SUM_x86_64=""
MAINTAINER="Murat D. Kadirov"
EMAIL="banderols@gmail.com"
APPROVED="rworkman"