23 lines
732 B
Ruby
23 lines
732 B
Ruby
require 'brewkit'
|
|
|
|
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
|
|
angband_libexec = libexec+"angband"
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--enable-curses",
|
|
"--disable-x11",
|
|
"--disable-sdltest",
|
|
"--with-libpath=#{angband_libexec}"
|
|
system "make"
|
|
# I'm not really sure what install is installing, since
|
|
# it doesn't seem to install anything for me. --adamv
|
|
# system "make install"
|
|
bin.install "src/angband"
|
|
angband_libexec.install Dir['lib/*']
|
|
end
|
|
end
|