mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
development/ruff: Added (Runtime function formatter)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
867bf21216
commit
d5930c9980
4 changed files with 107 additions and 0 deletions
12
development/ruff/README
Normal file
12
development/ruff/README
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Ruff! (Runtime function formatter) is a documentation generation system for
|
||||||
|
programs written in the Tcl programming language. Ruff! is included with
|
||||||
|
Woof! but can be used independently of it. Ruff! uses runtime introspection
|
||||||
|
in conjunction with comment analysis to generate reference manuals for Tcl
|
||||||
|
programs.
|
||||||
|
|
||||||
|
In comparison with source code based documentation generators, Ruff!
|
||||||
|
produces documentation that not only requires less effort from the
|
||||||
|
programmer, but is also more complete, more accurate and more maintainable.
|
||||||
|
|
||||||
|
Ruff! is covered by a liberal BSD open-source license that permits use for
|
||||||
|
any purpose.
|
66
development/ruff/ruff.SlackBuild
Normal file
66
development/ruff/ruff.SlackBuild
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for ruff
|
||||||
|
|
||||||
|
# Written by Richard Ellis (rellis@dp100.com)
|
||||||
|
|
||||||
|
# Released into the public domain
|
||||||
|
# V1 - Slackware 13.37 - November 12, 2011
|
||||||
|
|
||||||
|
PRGNAM=ruff
|
||||||
|
VERSION=${VERSION:-0.4}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
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}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
else
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
unzip -o $CWD/$PRGNAM-$VERSION.zip -d $TMP
|
||||||
|
cd $PRGNAM
|
||||||
|
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 {} \;
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
|
||||||
|
mv ruff.tcl pkgIndex.tcl $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a \
|
||||||
|
ruff.html \
|
||||||
|
$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.${PKGTYPE:-tgz}
|
10
development/ruff/ruff.info
Normal file
10
development/ruff/ruff.info
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="ruff"
|
||||||
|
VERSION="0.4"
|
||||||
|
HOMEPAGE="http://woof.magicsplat.com/ruff_home"
|
||||||
|
DOWNLOAD="http://downloads.sourceforge.net/woof/ruff-0.4.zip"
|
||||||
|
MD5SUM="8de7ca0f7642b923a0d1b5a11482d339"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
MAINTAINER="Richard Ellis"
|
||||||
|
EMAIL="rellis@dp100.com"
|
||||||
|
APPROVED="Erik Hanson"
|
19
development/ruff/slack-desc
Normal file
19
development/ruff/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-------------------------------------------------------|
|
||||||
|
ruff: Ruff! (Runtime function formatter)
|
||||||
|
ruff:
|
||||||
|
ruff: Ruff! is a documentation generation system for programs written in
|
||||||
|
ruff: the Tcl programming language. Ruff! is included with Woof! but can be
|
||||||
|
ruff: used independently of it. Ruff! uses runtime introspection in
|
||||||
|
ruff: conjunction with comment analysis to generate reference manuals for
|
||||||
|
ruff: Tcl programs.
|
||||||
|
ruff:
|
||||||
|
ruff:
|
||||||
|
ruff:
|
||||||
|
ruff:
|
Loading…
Reference in a new issue