SUMMARY="A disc burning suite for Haiku"
DESCRIPTION="Lava is a disc burning suite for Haiku. It's a Tracker add-on."
HOMEPAGE="https://github.com/HaikuArchives/Lava"
COPYRIGHT="2007, 2010 Team MAUI
	2003-2006 Haiku Inc."
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/Lava/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="0c1899141eac1fca086a554d56527f38baa70ae7bff0a6db37cd180084c01c71"
SOURCE_DIR="Lava-$portVersion"

ARCHITECTURES="?all x86_gcc2 x86"

PROVIDES="
	lava = $portVersion
	add_on:Lava = $portVersion
	"
REQUIRES="
	haiku
	lib:libburndevice
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libburndevice
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:ld
	cmd:make
	"

BUILD()
{
	cd Add-On
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	cd Add-On
	mkdir -p $addOnsDir/Tracker/

	cp objects/Lava-L $addOnsDir/Tracker/
}
