homebrew-core/Formula/chipmunk.rb
2011-03-12 11:55:09 -08:00

15 lines
396 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