2 # Heavily based on the Slackware 12.0 SlackBuild
3 # SlackBuild by gallows ~at~ tiscali ~dot~ it
10 #PKG=$TMP/package-$NAME
16 PACK
=$NAME-$VERSION-$ARCH-$BUILD.tgz
18 [ -e $PKG ] && rm -rf $PKG
19 [ -e $TMP/$NAME-$VERSION ] && rm -rf $TMP/$NAME-$VERSION
24 mkdir
-p -m 755 $PKG/usr
/doc
/$NAME-$VERSION
26 cp -a RELNOTES CHANGES README README.ORG
*.html Jambase
$PKG/usr
/doc
/$NAME-$VERSION/
30 chmod 644 $PKG/usr
/doc
/$NAME-$VERSION/*
34 cp -a $CWD/bin.unix
/jam
$PKG/usr
/bin
35 cp -a $CWD/bin.unix
/mkjambase
$PKG/usr
/bin
39 strip
-s $PKG/usr
/bin
/*
40 chmod 755 $PKG/usr
/bin
/*
43 cat $CWD/slack-desc
> $PKG/install
/slack-desc
45 echo -ne "\nmaking $NAME package.. "
47 # ??? requiredbuilder -v -y -s $CWD $PKG
48 rm -f $CWD/slack
/$PACK &>/dev
/null
49 makepkg
-c n
-l y
$CWD/slack
/$PACK &>/dev
/null
52 echo -e "cleaning up... "
55 rm -rf $TMP/$NAME-$VERSION