perl/perl-xml-sax: Removed (included in linuxdoc-tools)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2013-07-09 23:04:24 -05:00
parent 1313d843e8
commit 3220b5bc8f
5 changed files with 0 additions and 115 deletions

View file

@ -1 +0,0 @@
XML::SAX - Simple API for XML

View file

@ -1,7 +0,0 @@
if [ -f @PERLPATH@/XML/SAX/ParserDetails.ini ]; then
echo "ParserDetails.ini file already installed.";
else
perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
echo "Creating ParserDetails.ini..."
fi

View file

@ -1,78 +0,0 @@
#!/bin/sh
# Slackware build script for perl-xml-namespacesupport
# Written by Murat D. Kadirov <banderols@gmail.com>
# Modified by SlackBuils.org
PRGNAM=perl-xml-sax
VERSION=0.99
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=XML-SAX
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="Changes README LICENSE"
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 .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
# Comment out the test for ParserDetails.ini, we'll do this from the doinst.sh
sed -i -e 's,@\$(PERL),#@\$(PERL),' Makefile
make
make test
make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Remove perlocal.pod and .packlist from $PKG
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
# Add the correct perl path in the doinst.sh file.
PERLPATH=$(perl -V:installvendorlib | cut -f2- -d/ | cut -f1 -d\')
sed s#@PERLPATH@#$PERLPATH# $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +0,0 @@
PRGNAM="perl-xml-sax"
VERSION="0.99"
HOMEPAGE="http://search.cpan.org/~grantm/XML-SAX-0.99/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-0.99.tar.gz"
MD5SUM="290f5375ae87fdebfdb5bc3854019f24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-XML-SAX-Base perl-XML-NamespaceSupport"
MAINTAINER="Murat D. Kadirov"
EMAIL="banderols@gmail.com"

View file

@ -1,19 +0,0 @@
# 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-sax: XML::SAX (perl module)
perl-xml-sax:
perl-xml-sax: Simple API for XML
perl-xml-sax:
perl-xml-sax:
perl-xml-sax:
perl-xml-sax:
perl-xml-sax:
perl-xml-sax:
perl-xml-sax:
perl-xml-sax: