homebrew-core/Formula/chipmunk.rb

18 lines
467 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://chipmunk-physics.net/release/Chipmunk-6.x/Chipmunk-6.2.1.tgz'
sha1 '593a15a9032586e56b16d22d84f4f04c1f11a44e'
depends_on 'cmake' => :build
def install
system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}",
"-DCMAKE_BUILD_TYPE=Release",
"-DBUILD_DEMOS=OFF",
2012-02-22 05:12:27 +00:00
"."
system "make install"
end
end