mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/xmlgen: Added to 12.2 repository
This commit is contained in:
parent
448cb4d58b
commit
6fc734a7da
4 changed files with 78 additions and 0 deletions
4
libraries/xmlgen/README
Normal file
4
libraries/xmlgen/README
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Xmlgen - Writing XML with Tcl
|
||||||
|
|
||||||
|
The Tcl package xmlgen allows to write Tcl code
|
||||||
|
which translates itself into XML.
|
19
libraries/xmlgen/slack-desc
Normal file
19
libraries/xmlgen/slack-desc
Normal file
|
@ -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:
|
47
libraries/xmlgen/xmlgen.SlackBuild
Normal file
47
libraries/xmlgen/xmlgen.SlackBuild
Normal file
|
@ -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
|
8
libraries/xmlgen/xmlgen.info
Normal file
8
libraries/xmlgen/xmlgen.info
Normal file
|
@ -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"
|
Loading…
Reference in a new issue