SUMMARY="A simple audio wave viewer"
DESCRIPTION="
Waveview is a simple audio wave viewer.
"
HOMEPAGE="https://github.com/aldeck/waveview"
LICENSE="MIT"
COPYRIGHT="2011 Alexandre Deckner (alex@zappotek.com)"
SRC_URI="git+https://github.com/aldeck/waveview#fce091e76a"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
 
PROVIDES="
	waveview = $portVersion
	app:waveview = $portVersion
	"
 
REQUIRES="
	haiku >= $haikuVersion
	lib:libpcre
	lib:libpcreposix
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	devel:libpcre
	devel:libpcreposix
	"
 
BUILD_PREREQUIRES="
	makefile_engine
	cmd:bison
	cmd:flex
	cmd:gcc
	cmd:jam
	cmd:ld
	cmd:make
	cmd:mkdepend
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD()
{
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

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