diff options
-rw-r--r-- | perl/perl-xml-sax/README | 1 | ||||
-rw-r--r-- | perl/perl-xml-sax/doinst.sh | 7 | ||||
-rw-r--r-- | perl/perl-xml-sax/perl-xml-sax.SlackBuild | 78 | ||||
-rw-r--r-- | perl/perl-xml-sax/perl-xml-sax.info | 10 | ||||
-rw-r--r-- | perl/perl-xml-sax/slack-desc | 19 |
5 files changed, 0 insertions, 115 deletions
diff --git a/perl/perl-xml-sax/README b/perl/perl-xml-sax/README deleted file mode 100644 index f78d3318b4..0000000000 --- a/perl/perl-xml-sax/README +++ /dev/null @@ -1 +0,0 @@ -XML::SAX - Simple API for XML diff --git a/perl/perl-xml-sax/doinst.sh b/perl/perl-xml-sax/doinst.sh deleted file mode 100644 index 29401b5277..0000000000 --- a/perl/perl-xml-sax/doinst.sh +++ /dev/null @@ -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 - diff --git a/perl/perl-xml-sax/perl-xml-sax.SlackBuild b/perl/perl-xml-sax/perl-xml-sax.SlackBuild deleted file mode 100644 index 0c5e17f895..0000000000 --- a/perl/perl-xml-sax/perl-xml-sax.SlackBuild +++ /dev/null @@ -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} diff --git a/perl/perl-xml-sax/perl-xml-sax.info b/perl/perl-xml-sax/perl-xml-sax.info deleted file mode 100644 index 4ae325a674..0000000000 --- a/perl/perl-xml-sax/perl-xml-sax.info +++ /dev/null @@ -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" diff --git a/perl/perl-xml-sax/slack-desc b/perl/perl-xml-sax/slack-desc deleted file mode 100644 index 10eea3679d..0000000000 --- a/perl/perl-xml-sax/slack-desc +++ /dev/null @@ -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: |