SUMMARY="ARAnyM (Atari Running on Any Machine)"
DESCRIPTION="
ARAnyM (Atari Running on Any Machine) is a multiplatform virtual machine for \
running Atari ST/TT/Falcon operating systems and applications.
"
HOMEPAGE="http://aranym.org/"
SRC_URI="git://git.code.sf.net/p/aranym/code"
REVISION="1"
#CHECKSUM_MD5=""
COPYRIGHT="2001-2010 ARAnyM developer team"
LICENSE="GNU GPL v2"

ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

SOURCE_DIR="code"

PROVIDES="
	aranym = $portVersion
	app:aranym = $portVersion
	cmd:aranym = $portVersion
	"
REQUIRES="
	haiku
	libsdl
	lib:libsdl_image_1.2
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	devel:libsdl_1.2 >= 0.10
	devel:libSDL_image_1.2 >= 0.8.4
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:make
	cmd:gcc
	cmd:sdl_config
	"

BUILD()
{
	./autogen.sh --help >/dev/null
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
	mimeset $prefix/bin/aranym
	addAppDeskbarSymlink /bin/aranym ARAnyM
}

