SUMMARY="A CD burning application"
DESCRIPTION="Melt is a frontend application which uses mkisofs and cdrecord, \
both from the cdrtools package, to create and burn Audio and Data CDs."
APP="Melt"
HOMEPAGE="https://github.com/matthiasr/melt"
COPYRIGHT="2000 Lukas Hartmann / Atomatrix"
LICENSE="MIT"
REVISION="1"
srcGitRev="a32d2888d6bb601e8158b1e0a373e9f52171681b"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="8f420c8a83ae175f618e29c390db83d7bd56eda4c1d788a76f8897b4f120e134"
SOURCE_FILENAME="$APP-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="melt-$srcGitRev"

# melt is presently broken; see https://github.com/matthiasr/melt/issues/2
ARCHITECTURES="!all"

PROVIDES="
	melt = $portVersion
	app:$APP = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir $APP
	addAppDeskbarSymlink $appsDir/$APP
}
