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:
parent
d95707916c
commit
ec84b8c365
1 changed files with 15 additions and 0 deletions
15
Formula/chipmunk.rb
Normal file
15
Formula/chipmunk.rb
Normal 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
|
Loading…
Reference in a new issue