SUMMARY="Team/thread manager"
DESCRIPTION="
Monitor CPU and memory usage for running thread and teams, adjust their 
priorities or kill them.
"
LICENSE="GNU GPL v3"
COPYRIGHT="1998 Arto Jalkanen."
HOMEPAGE="https://github.com/pulkomandy/Slayer" 
SRC_URI="git+https://github.com/pulkomandy/Slayer.git#f36790b1fe9"
REVISION="1"
ARCHITECTURES="?x86 x86_gcc2"

PROVIDES="
	slayer = $portVersion
	app:slayer = $portVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	makefile_engine
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	cd src
	make $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir
	cp src/objects.*-release/Slayer $appsDir/Slayer
	addAppDeskbarSymlink $appsDir/Slayer
}
