homebrew-core/Formula/physfs.rb
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00

20 lines
494 B
Ruby

require 'formula'
class Physfs < Formula
homepage 'http://icculus.org/physfs/'
url 'http://icculus.org/physfs/downloads/physfs-2.0.2.tar.gz'
md5 '4e8927c3d30279b03e2592106eb9184a'
depends_on 'cmake' => :build
def install
mkdir 'macbuild' do
system "cmake", "..",
"-DPHYSFS_BUILD_WX_TEST=FALSE",
"-DPHYSFS_BUILD_TEST=TRUE",
*std_cmake_args
system "make"
system "make install"
end
end
end