Files
haikuports/dev-games/box2d/box2d-2.1.2.recipe
2016-02-28 20:17:42 -05:00

45 lines
814 B
Bash

SUMMARY="A 2D Physics Engine for Games"
DESCRIPTION="Box2D is a feature rich 2D rigid body physics engine, written in C++. \
It has been used in many games, including Crayon Physics Deluxe, \
winner of the 2008 Independant Game Festival Grand Prize"
HOMEPAGE="http://www.box2d.org"
COPYRIGHT="2007-2009 Erin Catto"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://box2d.googlecode.com/files/Box2D_v2.1.2.zip"
CHECKSUM_SHA256="3b351c3e51c6bf78c3e48a2b51260297f3f309fde389c9bfc21ebd484efbba54"
SOURCE_DIR="Box2D_v2.1.2"
PATCHES="box2d-2.1.2.patch"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
box2d
"
REQUIRES="
haiku
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:cmake
cmd:gcc
devel:libgl
devel:libglu
"
BUILD()
{
cd Box2D
cmake .
make
}
INSTALL()
{
cd Box2D
make install
}