mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
physfs-2.0.2 update formula to build out of source, and specify -DPHYSFS_BUILD_TEST=TRUE so that we compile a cli named test_physfs that lets you interactively operate on supported archives (e.g. Quake II PAKs or DOOM WADs). There were no problems with 64bit OSX 10.6.8 with gcc, llvm, or clang from XCode 4.0.2. Closes #8273. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
19 lines
451 B
Ruby
19 lines
451 B
Ruby
require 'formula'
|
|
|
|
class Physfs < Formula
|
|
url 'http://icculus.org/physfs/downloads/physfs-2.0.2.tar.gz'
|
|
homepage 'http://icculus.org/physfs/'
|
|
md5 '4e8927c3d30279b03e2592106eb9184a'
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
def install
|
|
mkdir 'macbuild'
|
|
Dir.chdir 'macbuild' do
|
|
system "cmake #{std_cmake_parameters} -DPHYSFS_BUILD_WX_TEST=FALSE -DPHYSFS_BUILD_TEST=TRUE .."
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|