homebrew-core/Formula/chipmunk.rb
2010-10-12 07:13:29 -07:00

15 lines
395 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' => :build
def install
system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}",
"-DCMAKE_PREFIX_PATH=#{prefix}",
"-DPREFIX=#{prefix}", "."
system "make install"
end
end