7bd947eb0b
* 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
20 lines
624 B
Ruby
20 lines
624 B
Ruby
require 'formula'
|
|
|
|
class Angband <Formula
|
|
url 'http://rephial.org/downloads/3.0/angband-3.0.9b-src.tar.gz'
|
|
md5 '51a24fe3119e7eff8a8395d601b2747e'
|
|
homepage 'http://rephial.org/'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--enable-curses",
|
|
"--disable-x11",
|
|
"--disable-sdl",
|
|
"--disable-sdl-mixer",
|
|
"--with-libpath=#{libexec}"
|
|
system "make"
|
|
# Install manually; 'make install' doesn't work.
|
|
bin.install "src/angband"
|
|
libexec.install Dir['lib/*']
|
|
end
|
|
end
|