summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/xmlgen/README4
-rw-r--r--libraries/xmlgen/slack-desc19
-rw-r--r--libraries/xmlgen/xmlgen.SlackBuild47
-rw-r--r--libraries/xmlgen/xmlgen.info8
4 files changed, 78 insertions, 0 deletions
diff --git a/libraries/xmlgen/README b/libraries/xmlgen/README
new file mode 100644
index 0000000000..2d58b5af11
--- /dev/null
+++ b/libraries/xmlgen/README
@@ -0,0 +1,4 @@
+Xmlgen - Writing XML with Tcl
+
+The Tcl package xmlgen allows to write Tcl code
+which translates itself into XML.
diff --git a/libraries/xmlgen/slack-desc b/libraries/xmlgen/slack-desc
new file mode 100644
index 0000000000..be0919a2a1
--- /dev/null
+++ b/libraries/xmlgen/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-------------------------------------------------------|
+xmlgen: Xmlgen (Tcl --> XML translator)
+xmlgen:
+xmlgen: Every tag is made into a markup command which takes attributes and the
+xmlgen: element's content as parameters and then prints the XML tagged content.
+xmlgen: Of course, the content again can contain markup commands.
+xmlgen:
+xmlgen: On top of xmlgen there is the package htmlgen which comes with all the
+xmlgen: typical HTML tags predefined as markup commands.
+xmlgen:
+xmlgen: Homepage: http://tclxml.sourceforge.net/xmlgen.html
+xmlgen:
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
diff --git a/libraries/xmlgen/xmlgen.info b/libraries/xmlgen/xmlgen.info
new file mode 100644
index 0000000000..471fe55829
--- /dev/null
+++ b/libraries/xmlgen/xmlgen.info
@@ -0,0 +1,8 @@
+PRGNAM="xmlgen"
+VERSION="1.4"
+HOMEPAGE="http://tclxml.sourceforge.net/xmlgen.html"
+DOWNLOAD="http://downloads.sourceforge.net/tclxml/xmlgen-1.4.tar.gz"
+MD5SUM="33ab852e21d5afd9bc9bc21c69edd071"
+MAINTAINER="Richard Ellis"
+EMAIL="rellis@dp100.com"
+APPROVED="rworkman"