SUMMARY="Paint and imaging software for Haiku"
DESCRIPTION="
BeCasso - Paint and imaging software for Haiku, originally written for BeOS by \
Sum Software.
"
HOMEPAGE="https://github.com/orangejua/Becasso"
SOURCE_URI="git+https://github.com/orangejua/Becasso"
REVISION="1"

ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	becasso = $portVersion
	app:BeCasso = $portVersion
	"

BUILD_PREREQUIRES="
	cmd:nasm
	cmd:gcc
	cmd:jam"
	
BUILD_REQUIRES="
	haiku
	haiku_devel
	devel:libz"
		
USER_SETTINGS_FILES="
	settings/Becasso directory"

COPYRIGHT="
	1997-2003 Sum Software <sander@stoks.nl>
	2013 Julian Harnath <julian.harnath@rwth-aachen.de>"

LICENSE="MIT"

BUILD()
{
	jam -q
}

INSTALL()
{
	jam install
	
	beCassoDir=$appsDir/BeCasso
	mkdir -p $beCassoDir
	
	cp -R target/* $beCassoDir
	
	addAppDeskbarSymlink $beCassoDir/Becasso
}
