blob: 789dce27e89279be469ec779e4d819ee8528c88a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|