mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
23 lines
478 B
Plaintext
23 lines
478 B
Plaintext
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"
|