SUMMARY="A tool for converting DAA/GBI images to ISO format."
DESCRIPTION="
DAA2ISO is an open source command-line/GUI tool for converting single and \
multipart DAA and GBI images to the original ISO format.
DAA/GBI files are 'Direct Access Archive' used by PowerISO and gBurner
"
LICENSE="GNU GPL v2"
COPYRIGHT="Luigi Auriemma"
HOMEPAGE="http://aluigi.org/mytoolz.htm#daa2iso"
SRC_URI="http://aluigi.altervista.org/mytoolz/daa2iso.zip"
REVISION="1"
CHECKSUM_MD5="6930ebcd8568e8ade0a175352d4a3481"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"

PROVIDES="
	daa2iso = $portVersion
	cmd:daa2iso = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

#intentionally empty
SOURCE_DIR=""

BUILD()
{
	cd src
	make CFLAGS="-DNOLFS -O2 -s"
}

INSTALL()
{
	cd src
	make install PREFIX=$prefix
}
