SUMMARY="A tone generator"
DESCRIPTION="Toner, a tone generator for aligning levels in your playback \
system."
HOMEPAGE="https://github.com/HaikuArchives/Toner"
COPYRIGHT="2001 Ben Loftis"
LICENSE="MIT"
REVISION="3"
srcGitRev="f009a0da41b1d8f630bb381fa85599b185bc2cdf"
SOURCE_URI="https://github.com/HaikuArchives/Toner/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="66cf8d7316d3e4f7d4e5b75b322977790a54e02f1047d3bcb7a273bd089b6678"
SOURCE_DIR="Toner-$srcGitRev"

ARCHITECTURES="all ?x86"

PROVIDES="
	toner = $portVersion
	app:Toner = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp objects/Toner $appsDir
	addAppDeskbarSymlink $appsDir/Toner
}
