cataclysm: remove lua in HEAD (#38112)
This commit is contained in:
parent
58d40269cf
commit
7c7c31e69b
1 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,7 @@ class Cataclysm < Formula
|
|||
depends_on "gettext"
|
||||
depends_on "libogg"
|
||||
depends_on "libvorbis"
|
||||
depends_on "lua"
|
||||
depends_on "lua" unless build.head?
|
||||
depends_on "sdl2"
|
||||
depends_on "sdl2_image"
|
||||
depends_on "sdl2_mixer"
|
||||
|
@ -30,18 +30,19 @@ class Cataclysm < Formula
|
|||
NATIVE=osx
|
||||
RELEASE=1
|
||||
OSX_MIN=#{MacOS.version}
|
||||
LUA=1
|
||||
USE_HOME_DIR=1
|
||||
TILES=1
|
||||
SOUND=1
|
||||
]
|
||||
|
||||
args << "CLANG=1" if ENV.compiler == :clang
|
||||
args << "LUA=1" if build.stable?
|
||||
|
||||
system "make", *args
|
||||
|
||||
# no make install, so we have to do it ourselves
|
||||
libexec.install "cataclysm-tiles", "data", "gfx", "lua"
|
||||
libexec.install "cataclysm-tiles", "data", "gfx"
|
||||
libexec.install "lua" if build.stable?
|
||||
|
||||
inreplace "cataclysm-launcher" do |s|
|
||||
s.change_make_var! "DIR", libexec
|
||||
|
|
Loading…
Reference in a new issue