ec84b8c365
Fast and lightweight 2D rigid body physics library in C Signed-off-by: David Höppner <0xffea@gmail.com> * split commit * rewrote commit message
15 lines
385 B
Ruby
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
|