SUMMARY="A fast and flexible build system"
DESCRIPTION="Bam uses Lua to describe the build process. It's takes its \
inspiration for the script files from scons. While scons focuses on being \
100% correct when building, bam makes a few sacrifices to acquire fast. \
full and incremental build times."
HOMEPAGE="http://matricks.github.io/bam/"
COPYRIGHT="2009 Magnus Auvinen"
LICENSE="Zlib"
REVISION="3"
SOURCE_URI="http://github.com/downloads/matricks/bam/bam-$portVersion.tar.gz"
CHECKSUM_SHA256="5e4e4920b4d265da582f66774e9b1ec8ddfbe75ddc028fba86c12f686ea18db3"
PATCHES="bam-$portVersion.patch"

ARCHITECTURES="all"

PROVIDES="
	bam = $portVersion
	cmd:bam = $portVersion
	"
REQUIRES="
	haiku
	cmd:lua5.1
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc
	"

BUILD()
{
	sh make_beos.sh
}

INSTALL()
{
	mkdir -p $binDir
	cp bam $binDir
}
