diff options
author | Ferenc Deak <ferenc.deak@gmail.com> | 2010-05-11 14:05:51 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 14:05:51 +0200 |
commit | 61e7763ae2a02320215395990ab0df57a9010308 (patch) | |
tree | f72a7fb89ea7a9616189c10e6b66936457c68668 /development/ftjam | |
parent | bbff165e6c7cca38ad309c34f9e92ecc1bef6dd8 (diff) | |
download | slackbuilds-61e7763ae2a02320215395990ab0df57a9010308.tar.gz |
development/ftjam: Initial import
Diffstat (limited to 'development/ftjam')
-rw-r--r-- | development/ftjam/README | 12 | ||||
-rw-r--r-- | development/ftjam/ftjam.SlackBuild | 61 | ||||
-rw-r--r-- | development/ftjam/ftjam.info | 8 | ||||
-rw-r--r-- | development/ftjam/slack-desc | 11 |
4 files changed, 92 insertions, 0 deletions
diff --git a/development/ftjam/README b/development/ftjam/README new file mode 100644 index 0000000000..3c994bfec1 --- /dev/null +++ b/development/ftjam/README @@ -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. + diff --git a/development/ftjam/ftjam.SlackBuild b/development/ftjam/ftjam.SlackBuild new file mode 100644 index 0000000000..dcdcc5a045 --- /dev/null +++ b/development/ftjam/ftjam.SlackBuild @@ -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 diff --git a/development/ftjam/ftjam.info b/development/ftjam/ftjam.info new file mode 100644 index 0000000000..82309e20a1 --- /dev/null +++ b/development/ftjam/ftjam.info @@ -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" diff --git a/development/ftjam/slack-desc b/development/ftjam/slack-desc new file mode 100644 index 0000000000..3a80c3193b --- /dev/null +++ b/development/ftjam/slack-desc @@ -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: |