SUMMARY="Amiga IFF ILBM image translator add-on"
DESCRIPTION="IFF_ILBMTranslator is a translator add-on for reading and writing \
the Amiga's IFF ILBM (interleaved bitmap) format. Images with 1-8 and 24 \
bitplanes are supported, as are the EHB, HAM, and HAM8 formats."
HOMEPAGE="http://edmundv.home.xs4all.nl/sw/"
COPYRIGHT="1997-1999 Edmund Vermeulen, Tim Stack"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="http://edmundv.home.xs4all.nl/sw/IFF_ILBMTranslator.zip"
CHECKSUM_SHA256="e2bc253164d7b5970b4de181803345c26b7162830c1157c725f0c0ffe8d72cdc"
SOURCE_DIR="IFF_ILBMTranslator"
PATCHES="iff_ilbm_translator-$portVersion.patchset"

ARCHITECTURES="?all x86_gcc2"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
	iff_ilbm_translator$secondaryArchSuffix = $portVersion
	add_on:iff_ilbmtranslator$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

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

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	make install INSTALL_DIR=$addOnsDir/Translators
}
