diff options
| author | Thai Pangsakulyanont | 2014-02-03 11:08:59 +0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-02 21:25:02 -0700 |
| commit | c8d73294f647fb0e0fc6cc221cfc1e8bb6d2741f (patch) | |
| tree | 42141740255ebbed6b940b63c953ae965ec247f4 | |
| parent | 13b4ff7405e7933a0c42a31ea36ea5fe61f2813f (diff) | |
| download | homebrew-c8d73294f647fb0e0fc6cc221cfc1e8bb6d2741f.tar.bz2 | |
termrec 0.17
Closes #26365.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/termrec.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/termrec.rb b/Library/Formula/termrec.rb new file mode 100644 index 000000000..2a45a651e --- /dev/null +++ b/Library/Formula/termrec.rb @@ -0,0 +1,27 @@ +require "formula" + +class Termrec < Formula + homepage "http://angband.pl/termrec.html" + head "http://angband.pl/git/termrec/", :using => :git + url "https://github.com/kilobyte/termrec/archive/0.17.tar.gz" + sha1 "45df1b35b7f236fafd1e4db9c45543501dfde359" + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + depends_on "xz" + + def install + inreplace "autogen", "libtoolize", "glibtoolize" + system "./autogen" + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "#{bin}/termrec", "--help" + end +end |
