homebrew-core/Formula/angband.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

19 lines
582 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-sdltest",
"--with-libpath=#{libexec}"
system "make"
# Install manually; 'make install' doesn't work.
bin.install "src/angband"
libexec.install Dir['lib/*']
end
end