diff options
author | Richard Ellis <rellis@dp100.com> | 2010-05-12 23:31:32 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:31:32 +0200 |
commit | 6fc734a7da98bf292d58eed7aef1a12ed5001ec2 (patch) | |
tree | d7f9ea895da1bf30e93492f70a808ef1f954d61a /libraries/xmlgen/xmlgen.SlackBuild | |
parent | 448cb4d58b2eef3bd3af4d0d927ee29df16928d8 (diff) | |
download | slackbuilds-6fc734a7da98bf292d58eed7aef1a12ed5001ec2.tar.gz |
libraries/xmlgen: Added to 12.2 repository
Diffstat (limited to 'libraries/xmlgen/xmlgen.SlackBuild')
-rw-r--r-- | libraries/xmlgen/xmlgen.SlackBuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libraries/xmlgen/xmlgen.SlackBuild b/libraries/xmlgen/xmlgen.SlackBuild new file mode 100644 index 0000000000..71849ac219 --- /dev/null +++ b/libraries/xmlgen/xmlgen.SlackBuild @@ -0,0 +1,47 @@ +#!/bin/sh + +# Slackware build script for <appname> + +# Written by Richard Ellis (rellis@dp100.com) + +# Released into the public domain June 12, 2009. + +PRGNAM=xmlgen +VERSION=${VERSION:-1.4} +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$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 {} \; + +# no configure file in this package +# The package is pure TCL script, no compiling + +tclsh bras-sa prefix=$PKG/usr cgi_prefix=$PKG/usr/doc install + +mkdir -p $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz |