SUMMARY="A utility for burning CD"
DESCRIPTION="
BurnItNow is a CD burning utility application for Haiku.
"
HOMEPAGE="https://github.com/HaikuArchives/BurnItNow"
SRC_URI="git+https://github.com/HaikuArchives/BurnItNow.git#a790db9a87"
REVISION="1"
COPYRIGHT="
	2010-2013 BurnItNow Team
	"
LICENSE="MIT"

ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
	burnitnow = $portVersion
	app:burnintnow = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	cmd:cdrecord
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
	"

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

#SOURCE_DIR="$portName/burnitnow2"

BUILD()
{
	cmake .
	make
}

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