development/noweb: Added (literate programming tool)

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Kyle Guinn 2010-12-18 09:36:24 -02:00 committed by Robby Workman
parent c365ff6839
commit 4818108e91
6 changed files with 1782 additions and 0 deletions

7
development/noweb/README Normal file
View File

@ -0,0 +1,7 @@
noweb is a simple, extensible tool for literate programming. It is
designed to meet the needs of literate programmers while remaining as
simple as possible. Its primary advantages are simplicity, extensibility,
and language-independence -- especially noticeable when compared with
other literate-programming tools.
Requires icon.

View File

@ -0,0 +1,2 @@
texhash

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,83 @@
#!/bin/sh
# Slackware build script for noweb
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=noweb
VERSION=${VERSION:-2.11b}
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-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="CHANGES COPYRIGHT DATE README examples/"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-st .
# Adds destdir support along with various other simplifications
patch -p1 < $CWD/make_cleanup.diff
# Postpone texhash until doinst.sh
sed -i 's/texhash/true/g' src/Makefile
# Does something like s/nawk/awk/ on several scripts
(cd src && ./awkname awk)
make -C src all install \
ICONC="icont" \
LIBSRC="icon" \
BIN="/usr/bin" \
LIB="/usr/libexec/$PRGNAM" \
MAN="/usr/man" \
TEXINPUTS="/usr/share/texmf-local/tex/latex/$PRGNAM" \
ELISP="/usr/share/emacs/site-lisp" \
CFLAGS="$SLKCFLAGS -DTEMPNAM" \
DESTDIR="$PKG"
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -0,0 +1,10 @@
PRGNAM="noweb"
VERSION="2.11b"
HOMEPAGE="http://www.cs.tufts.edu/~nr/noweb/"
DOWNLOAD="ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz"
MD5SUM="1df580723497b2f2efde07646abf764c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
APPROVED="Niels Horn"

View 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------------------------------------------------------|
noweb: noweb (literate programming tool)
noweb:
noweb: noweb is a simple, extensible tool for literate programming. It is
noweb: designed to meet the needs of literate programmers while remaining as
noweb: simple as possible. Its primary advantages are simplicity,
noweb: extensibility, and language-independence -- especially noticeable
noweb: when compared with other literate-programming tools.
noweb:
noweb:
noweb:
noweb: