homebrew-core/Formula/physfs.rb

18 lines
426 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.2.tar.gz'
md5 '4e8927c3d30279b03e2592106eb9184a'
depends_on 'cmake' => :build
def install
2012-02-22 04:48:36 +00:00
mkdir 'macbuild' do
system "cmake #{std_cmake_parameters} -DPHYSFS_BUILD_WX_TEST=FALSE -DPHYSFS_BUILD_TEST=TRUE .."
system "make"
system "make install"
end
end
end