SUMMARY="The classic Bomber game"
DESCRIPTION="The same old bomber game. It's just that Mr.Bomberman looks meh."
HOMEPAGE="http://www.linuxmotors.com/SDL_bomber/"
COPYRIGHT="1999-2008 Dave Ashley"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.linuxmotors.com/SDL_bomber/downloads/SDL_bomber-1.0.4.tgz"
CHECKSUM_SHA256="b811e69b077b0f9bc97b1405dec8bb3e8020a178c1609b5ddad6b8cc07e5df07"
SOURCE_DIR="SDL_bomber-1.0.4"
PATCHES="sdl_bomber-1.0.4.patch" 

ARCHITECTURES="x86 x86_gcc2"
 
PROVIDES="
	SDL_Bomber= $portVersion
	app:SDL_Bomber= $portVersion
	"
REQUIRES="
	haiku
	lib:libsdl
	lib:libsdl_mixer
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libsdl
	devel:libsdl_mixer
	"
BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{	
	make DBG=-lnetwork $jobArgs
}
 
INSTALL()
{
	mkdir -p $appsDir/SDL_bomber
	cp bomber matcher $appsDir/SDL_bomber
	cp -r data $appsDir/SDL_bomber
	addAppDeskbarSymlink $appsDir/SDL_bomber/bomber SDL_bomber
}
