DESCRIPTION="Box2d is an open source 2d physics engine for games."
HOMEPAGE="http://www.box2d.org"
SRC_URI="http://box2d.googlecode.com/files/Box2D_v2.1.2.zip"
CHECKSUM_MD5="59d142cd8d4d73e8832c7b67591f590c"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	cd Box2D_v2.1.2/Box2D
	cmake . -DOPENGL_INCLUDE_DIR:=/boot/develop/headers/os/opengl/GL \
		-DHAIKU:=TRUE
	make
}
	
INSTALL()
{
	cd Box2D_v2.1.2/Box2D
	make install
}
LICENSE="MIT"
COPYRIGHT="2007-2009 Erin Catto"
