3ad9a0896f
The `brew audit` check complains about the older /tarball/ URL scheme. Update formulae to use the new /archive/ URL and update the SHA to match. Closes Homebrew/homebrew#18813. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
536 B
Ruby
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.2.tar.gz'
|
|
sha1 'a432411e3d464a2a260a4eb8cd28313c66f7505c'
|
|
|
|
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
|