DESCRIPTION="Abandoned Bricks is a tetris like cross-platform puzzle game written in C++ using the SDL Library"
HOMEPAGE="www.abrick.sourceforge.net"
SRC_URI="http://sourceforge.net/projects/abrick/files/abrick/abrick-1.12/abrick-1.12-src.tar.gz"
CHECKSUM_MD5="56bdb952e2c247abfccf6e4a5251753c"
STATUS_HAIKU="stable"
REVISION="1"
DEPEND="media-libs/libsdl >= 1.2.14
	media-libs/sdl-mixer >=1.2.0"
BUILD()
{
	cd abrick-1.12-src
	make
}

INSTALL()
{
	cd abrick-1.12-src
	GAMEDIR=`finddir B_APPS_DIRECTORY`/abrick
	mkdir -p ${DESTDIR}/${GAMEDIR}
	cp -af abrick ${DESTDIR}/${GAMEDIR}
	cp -af data ${DESTDIR}/${GAMEDIR}			
}

LICENSE="GNU GPL v2"
COPYRIGHT="2004, 2005 Milan Babuskov "
