homebrew-core/Formula/chipmunk.rb
Brett Koonce d376fde6fb Chipmunk 6.1.5
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-16 11:30:19 -05:00

19 lines
536 B
Ruby

require 'formula'
class Chipmunk < Formula
homepage 'http://chipmunk-physics.net/'
url 'https://github.com/slembcke/Chipmunk-Physics/archive/Chipmunk-6.1.5.tar.gz'
sha1 'e15a919192fe95c5635f16fb8b11b1820dcf2c9a'
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}",
"."
system "make install"
end
end