SUMMARY="Well featured audio editor for Haiku"
DESCRIPTION="
BeAE is an audio editor for Haiku, with features like silencing, fading \
in/out, analyzing etc.
"
HOMEPAGE="http://developer.berlios.de/projects/beae" 
SRC_URI="git+https://github.com/HaikuArchives/BeAE.git#b4e8a39e0d"
REVISION="1"
COPYRIGHT="2003 Xentronix"
LICENSE="BSD (3-clause)"

ARCHITECTURES="x86_gcc2 !x86 ?x86_64"
SECONDARY_ARCHITECTURES="!x86"

PROVIDES="
	beae = $portVersion
	app:beae = $portVersion
	"
	
REQUIRES="
	haiku$secondaryArchSuffix >= $haikuVersion
	"
	
BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:cmake
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	"

BUILD()
{
	cmake .
	make
}

INSTALL()
{
	mkdir -p $appsDir/BeAE
	
	cd build
	mv * $appsDir/BeAE
	addAppDeskbarSymlink $appsDir/BeAE/BeAE
}
