summaryrefslogtreecommitdiff
path: root/perl/perl-xml-libxml
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-16 01:18:10 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-20 12:32:34 -0500
commit93ba4df5022a8c4d422dd97a2a13ffa8a8946453 (patch)
treeea69c40d48150458e051a851cdf77e722c9118e2 /perl/perl-xml-libxml
parent6a511b1c665a1f7efecadaa3447af889b1dcba58 (diff)
downloadslackbuilds-93ba4df5022a8c4d422dd97a2a13ffa8a8946453.tar.gz
perl/*: Moved all of the Perl modules to here
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-xml-libxml')
-rw-r--r--perl/perl-xml-libxml/README4
-rw-r--r--perl/perl-xml-libxml/perl-xml-libxml.SlackBuild69
-rw-r--r--perl/perl-xml-libxml/perl-xml-libxml.info10
-rw-r--r--perl/perl-xml-libxml/slack-desc19
4 files changed, 102 insertions, 0 deletions
diff --git a/perl/perl-xml-libxml/README b/perl/perl-xml-libxml/README
new file mode 100644
index 0000000000..8a7e2e2f2d
--- /dev/null
+++ b/perl/perl-xml-libxml/README
@@ -0,0 +1,4 @@
+XML::LibXML - Perl Binding for libxml2
+
+This requires the following from SlackBuilds.org:
+ XML::NamespaceSupport, XML::LibXML::Common, XML::SAX
diff --git a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
new file mode 100644
index 0000000000..b5752269f2
--- /dev/null
+++ b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# Slackware build script for perl-xml-namespacesupport
+
+# Written by Murat D. Kadirov <banderols@gmail.com>
+
+PRGNAM=perl-xml-libxml
+SRCNAM=XML-LibXML
+VERSION=1.64
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+perl Makefile.PL
+make \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3 \
+ install_vendor \
+ DESTDIR=$PKG
+
+( cd $PKG/usr/man || exit 1
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+( 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 {} \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+
+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.${PKGTYPE:-tgz}
diff --git a/perl/perl-xml-libxml/perl-xml-libxml.info b/perl/perl-xml-libxml/perl-xml-libxml.info
new file mode 100644
index 0000000000..24704aaf72
--- /dev/null
+++ b/perl/perl-xml-libxml/perl-xml-libxml.info
@@ -0,0 +1,10 @@
+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"
+MD5SUM="563a685d2aad2ace13a55acfeb818912"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Murat D. Kadirov"
+EMAIL="banderols@gmail.com"
+APPROVED="rworkman"
diff --git a/perl/perl-xml-libxml/slack-desc b/perl/perl-xml-libxml/slack-desc
new file mode 100644
index 0000000000..354afda177
--- /dev/null
+++ b/perl/perl-xml-libxml/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler-------------------------------------|
+perl-xml-libxml: XML::LibXML (perl module)
+perl-xml-libxml:
+perl-xml-libxml: Perl Binding for libxml2
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml: