homebrew-core/Formula/physfs.rb
Ideocl4st 02c87c2d10 Physics FS 2.0.3
Closes Homebrew/homebrew#15789.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-31 23:18:09 -07:00

20 lines
504 B
Ruby

require 'formula'
class Physfs < Formula
homepage 'http://icculus.org/physfs/'
url 'http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2'
sha1 '327308c777009a41bbabb9159b18c4c0ac069537'
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