SUMMARY="A tool to manage teams and threads"
DESCRIPTION="Monitor CPU and memory usage of running threads and teams, \
adjust their priorities or kill them."
LICENSE="GNU GPL v3"
COPYRIGHT="1998 Arto Jalkanen."
HOMEPAGE="https://github.com/HaikuArchives/Slayer"
SOURCE_URI="git+https://github.com/HaikuArchives/Slayer.git#e04057b"
REVISION="2"
ARCHITECTURES="?x86 x86_gcc2"

PROVIDES="
	slayer = $portVersion
	app:Slayer = $portVersion
	"
REQUIRES="
	haiku
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	cd src
	make $jobArgs
}

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