fbc4643f69
Update chipmunk to 6.2.1 Closes Homebrew/homebrew#27446. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
562 B
Ruby
19 lines
562 B
Ruby
require 'formula'
|
|
|
|
class Chipmunk < Formula
|
|
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_PREFIX_PATH=#{prefix}",
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
"-DBUILD_DEMOS=OFF",
|
|
"-DPREFIX=#{prefix}",
|
|
"."
|
|
system "make install"
|
|
end
|
|
end
|