2010-03-16 21:52:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Chipmunk <Formula
|
|
|
|
head 'http://chipmunk-physics.googlecode.com/svn/trunk'
|
|
|
|
homepage 'http://code.google.com/p/chipmunk-physics/'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-03-16 21:52:24 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}",
|
|
|
|
"-DCMAKE_PREFIX_PATH=#{prefix}",
|
|
|
|
"-DPREFIX=#{prefix}", "."
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|