SUMMARY="Command line tool that creates sine waves"
DESCRIPTION="Sinus is a little command line tool that creates sine waves, \
plays them back, and writes then to (.wav) files. It takes a list of frequencies \
and durations then creates a wave of those frequencies and durations."
HOMEPAGE="https://ftp.gwdg.de/pub/linux/misc/blinux/"
COPYRIGHT="1998 Angus Mackay"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="https://ftp.gwdg.de/pub/linux/misc/blinux/sinus-$portVersion.tar.gz"
CHECKSUM_SHA256="b81961bbc9854efaf3973701814aefca0fa5ec142c3dd1facac5f4eb08816d35"

ARCHITECTURES="!all x86_gcc2"

PROVIDES="
	sinus = $portVersion
	cmd:sinus = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:cc
	cmd:make
	"

BUILD()
{
	runConfigure --omit-dirs "docDir dataRootDir" ./configure
	make $jobArgs
}

INSTALL()
{
	install -d $docDir
	make install
	install -t $docDir README
}
