homebrew-core/Formula/chipmunk.rb
Roger Jungemann ec84b8c365 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
2010-03-17 20:31:34 +01:00

15 lines
385 B
Ruby

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