Formula for rogue.
This commit is contained in:
parent
f1872a1b4a
commit
7b1365f6cb
1 changed files with 27 additions and 0 deletions
27
Formula/rogue.rb
Normal file
27
Formula/rogue.rb
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
require 'brewkit'
|
||||||
|
|
||||||
|
class Rogue <Formula
|
||||||
|
url 'http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz'
|
||||||
|
homepage 'http://rogue.rogueforge.net/'
|
||||||
|
version '5.4.4'
|
||||||
|
sha1 'aef9e589c4f31eb6d3eeb9d543ab8787b00fb022'
|
||||||
|
|
||||||
|
def skip_clean? path
|
||||||
|
path == libexec
|
||||||
|
end
|
||||||
|
|
||||||
|
def install
|
||||||
|
if MACOS_VERSION == 10.6
|
||||||
|
ENV.ncurses_define
|
||||||
|
end
|
||||||
|
|
||||||
|
system "./configure", "--prefix=#{prefix}",
|
||||||
|
"--disable-debug",
|
||||||
|
"--disable-dependency-tracking"
|
||||||
|
|
||||||
|
inreplace "config.h", "rogue.scr", "#{libexec}/rogue.scr"
|
||||||
|
|
||||||
|
system "make install"
|
||||||
|
libexec.mkdir
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue