homebrew-core/Formula/chipmunk.rb

20 lines
536 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Chipmunk < Formula
2011-12-20 05:07:20 +00:00
homepage 'http://chipmunk-physics.net/'
url 'https://github.com/slembcke/Chipmunk-Physics/archive/Chipmunk-6.1.5.tar.gz'
sha1 'e15a919192fe95c5635f16fb8b11b1820dcf2c9a'
2011-12-20 05:07:20 +00:00
head 'https://github.com/slembcke/Chipmunk-Physics.git'
depends_on 'cmake' => :build
def install
system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}",
"-DCMAKE_PREFIX_PATH=#{prefix}",
"-DPREFIX=#{prefix}",
2012-02-22 05:12:27 +00:00
"."
system "make install"
end
end