SUMMARY="A filemanager for Haiku"
DESCRIPTION="Genesis Commander is a full featured file manager for Haiku"
HOMEPAGE="https://github.com/HaikuArchives/GenesisCommander"
SOURCE_URI="git://github.com/HaikuArchives/GenesisCommander#a5d4ef1"
COPYRIGHT="2002-2004 Zsolt Prievara"
LICENSE="MIT"
REVISION="2"

ARCHITECTURES="x86_gcc2 x86 !x86_64"

PROVIDES="
	genesis_commander = $portVersion
	app:GenesisCommander = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"
BUILD_PREREQUIRES="
	haiku${secondaryArchSuffix}_devel
	cmd:gcc$secondaryArchSuffix
	cmd:make
	makefile_engine
	"

BUILD()
{
	cd src
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp src/objects/GenesisCommander $appsDir
	addAppDeskbarSymlink $appsDir/GenesisCommander "Genesis Commander"
}
