development/ftjam: Initial import

This commit is contained in:
Ferenc Deak 2010-05-11 14:05:51 +02:00 committed by Robby Workman
parent bbff165e6c
commit 61e7763ae2
4 changed files with 92 additions and 0 deletions

12
development/ftjam/README Normal file
View File

@ -0,0 +1,12 @@
ftjam is make like program construction tool
This is "FT-Jam", a simple derivative of the Jam build tool, based on
and 100% compatible with Jam 2.5.
Jam recursively builds target files from source files, using
dependency information and updating actions expressed in the Jambase
file, which is written in jam's own interpreted language. The default
Jambase is compiled into jam and provides a boilerplate for common
use, relying on a user-provide file "Jamfile" to enumerate actual
targets and sources.

View File

@ -0,0 +1,61 @@
#!/bin/sh
# Slackware build script for ftjam
# Written by Ferenc Deak <ferenc.deak@gmail.com>
# Modified (slightly) by the SlackBuilds.org project
set -e
PRGNAM=ftjam
VERSION=2.5.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xjf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README CHANGES RELNOTES Jambase *.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.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="ftjam"
VERSION="2.5.2"
HOMEPAGE="http://www.freetype.org/jam/"
DOWNLOAD="http://downloads.sourceforge.net/freetype/ftjam-2.5.2.tar.bz2"
MD5SUM="e61304b370ba06f68082f0219a196576"
MAINTAINER="Ferenc Deak"
EMAIL="ferenc.deak@gmail.com"
APPROVED="robw810"

View File

@ -0,0 +1,11 @@
ftjam: ftjam (make like program construction tool)
ftjam:
ftjam: Jam recursively builds target files from source files, using
ftjam: dependency information and updating actions expressed in the Jambase
ftjam: file, which is written in jam's own interpreted language. The default
ftjam: Jambase is compiled into jam and provides a boilerplate for common
ftjam: use, relying on a user-provide file "Jamfile" to enumerate actual
ftjam: targets and sources.
ftjam:
ftjam: Homepage: http://www.freetype.org/jam/
ftjam: