SUMMARY="Simple game for small children"
DESCRIPTION="BabyBe is a simple game for small children."
HOMEPAGE="https://github.com/HaikuArchives/BabyBe"
COPYRIGHT="2001 Ben Loftis"
LICENSE="Public Domain"
REVISION="2"
srcGitRev="ea3bfd36112800808e40083275e200f9c3e2d10c"
SOURCE_URI="https://github.com/HaikuArchives/BabyBe/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="5bb6b099bde12d0ef5f324f238f650c6f7cf9514beb05bff6436715a15e34e5a"
SOURCE_FILENAME="BabyBe-$srcGitRev.tar.gz"
SOURCE_DIR="BabyBe-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	babybe = $portVersion
	app:BabyBe = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:ld
	cmd:make
	"

BUILD()
{
	mkdir -p bin
	make $jobArgs TARGET_DIR=bin
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir bin/BabyBe
	addAppDeskbarSymlink $appsDir/BabyBe
}
