homebrew-core/Formula/physfs.rb

21 lines
504 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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
2012-02-22 04:48:36 +00:00
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