SUMMARY="Save image files as ASCII text art"
DESCRIPTION="
The AalibTranslator for Haiku allows you to save image files as ASCII text art.
"
HOMEPAGE="https://github.com/noryb009/AalibTranslator/"
SOURCE_URI="git://github.com/noryb009/AalibTranslator.git#e69df6765106af986454611fa2c960e0ecdb1562"
LICENSE="MIT"
COPYRIGHT="2013 Luke (noryb009)"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	aalibtranslator = $portVersion
	app:AALIBTranslator = $portVersion
	"

REQUIRES="
	haiku
	lib:libaa
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libaa
	"
BUILD_PREREQUIRES="
	cmd:gcc
	makefile_engine
	cmd:make
	"

BUILD()
{
	make \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \
		TARGET_DIR=.
}

INSTALL()
{
	mkdir -p $addOnsDir/Translators
	cp AALIBTranslator $addOnsDir/Translators
}
