#!/bin/sh
############################################################################
# Program: all.build
# Purpose: Compile each package individually
#          Each build script was based on the monolithic
#          bin.SlackBuild script from Slackware v9.0
#          But I prefer to build them individually as it's easier
#          to hack stuff up when cross compiling.
# Notes:   This script should be ALWAYS be launched from trackbuild.bin
#          else you end up hosing your system !!!
# Author:  Stuart Winter <stuart@polplex.co.uk>
###########################################################################

BS=${ORIGPATH}/buildscripts/

( $BS/debianutils.build )
( $BS/eject.build       )
( $BS/fbset.build       )
( $BS/lha.build         )
# I can't get this to build yet but no other distro I looked at
# installed it anyway, so I won't expell much more effort on it.
#( $BS/bpe.build        )
( $BS/ed.build          )
( $BS/compress.build    )
( $BS/banners.build     )
( $BS/file.build        )
( $BS/dosfstools.build  )
( $BS/patch.build       )
( $BS/rpm2tgz.build     )
( $BS/run-parts.build   )
( $BS/sharutils.build   )
# splitvt needs libtermcap installed first... but an ARM one of course.
( $BS/splitvt.build     )
# this doesn't even build for x86 !
#( $BS/time.build        )
( $BS/tofrodos.build    )
( $BS/tree.build        )
( $BS/unarj230.build    )
( $BS/which.build       )
( $BS/zoo.build         )

# Remove /usr/info/dir as it's special and shouldn't be created
# by any of these programs.
rm -f ${SLACKTRACKFAKEROOT}/usr/info/dir

# Install the slack-desc
mkdir /install
install -m644 -oroot -groot ${ORIGPATH}/slack-desc /install/
