homebrew-core/Formula/nazghul.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

28 lines
803 B
Ruby

require 'formula'
class Nazghul <Formula
url 'http://downloads.sourceforge.net/project/nazghul/nazghul/nazghul-0.7.0/nazghul-0.7.0.tar.gz'
homepage 'http://myweb.cableone.net/gmcnutt/nazghul.html'
md5 '3a3b08ee180163030bc9934d6fb40de8'
depends_on 'sdl'
depends_on 'sdl_image'
depends_on 'sdl_mixer'
depends_on 'libpng'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-sdltest"
# Not sure why the ifdef is commented out in this file
inreplace "src/skill.c", "#include <malloc.h>", ""
system "make install"
end
def caveats; <<-EOS.undent
The built-in game for this engine is called "Haxima".
To run:
haxima.sh"
EOS
end
end