SUMMARY="Convert Alcohol 120% MDF to ISO/CUE files"
DESCRIPTION="A tool to convert Alcohol 120% disk images to ISO/CUE files"
HOMEPAGE="https://packages.debian.org/sid/mdf2iso"
COPYRIGHT="2004-2005 Salvatore Santagati"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://deb.debian.org/debian/pool/main/m/mdf2iso/mdf2iso_$portVersion.orig.tar.gz"
CHECKSUM_SHA256="906f0583cb3d36c4d862da23837eebaaaa74033c6b0b6961f2475b946a71feb7"

ARCHITECTURES="?all"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
	mdf2iso$secondaryArchSuffix = $portVersion
	cmd:mdf2iso$secondaryArchSuffix
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc$secondaryArchSuffix
	cmd:make
	"

BUILD()
{
	runConfigure --omit-dirs "docDir dataRootDir" ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}

TEST()
{
	make check
}
