development/xml-twig: Updated for version 3.32

This commit is contained in:
Heinz Wiesinger 2010-05-13 00:25:45 +02:00 committed by Erik Hanson
parent 0188448efa
commit 376ee74532
2 changed files with 14 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for xml-twig # Slackware build script for xml-twig
# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at> # Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -22,7 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=XML-Twig SRCNAM=XML-Twig
PRGNAM=$(echo $SRCNAM | tr [:upper:] [:lower:])
VERSION=3.32 VERSION=3.32
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
@ -33,16 +34,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
PKGNAM=$(echo $PRGNAM | tr [:upper:] [:lower:])
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $SRCNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod -R u+w,go+r-w,a-s . chmod -R u+w,go+r-w,a-s .
@ -69,13 +68,13 @@ find $PKG -depth -type d -empty -exec rm -rf {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
) )
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Changes README \ cp -a Changes README \
$PKG/usr/doc/$PKGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -2,7 +2,9 @@ PRGNAM="xml-twig"
VERSION="3.32" VERSION="3.32"
HOMEPAGE="http://xmltwig.com/xmltwig/" HOMEPAGE="http://xmltwig.com/xmltwig/"
DOWNLOAD="http://xmltwig.com/xmltwig/XML-Twig-3.32.tar.gz" DOWNLOAD="http://xmltwig.com/xmltwig/XML-Twig-3.32.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM="3ab6e0c0666383bd517189dae8f067a5" MD5SUM="3ab6e0c0666383bd517189dae8f067a5"
MAINTAINER="ppr:kut" MD5SUM_x86_64=""
EMAIL="HMWiesinger@gmx.at" MAINTAINER="pprkut"
EMAIL="pprkut@liwjatan.at"
APPROVED="Erik Hanson" APPROVED="Erik Hanson"