New formula chipmunk

Fast and lightweight 2D rigid body physics library in C

Signed-off-by: David Höppner <0xffea@gmail.com>

* split commit
* rewrote commit message
This commit is contained in:
Roger Jungemann 2010-03-16 14:52:24 -07:00 committed by David Höppner
parent d95707916c
commit ec84b8c365

15
Formula/chipmunk.rb Normal file
View file

@ -0,0 +1,15 @@
require 'formula'
class Chipmunk <Formula
head 'http://chipmunk-physics.googlecode.com/svn/trunk'
homepage 'http://code.google.com/p/chipmunk-physics/'
depends_on 'cmake'
def install
system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}",
"-DCMAKE_PREFIX_PATH=#{prefix}",
"-DPREFIX=#{prefix}", "."
system "make install"
end
end