diff options
| author | gcoco | 2013-12-04 00:58:01 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-05 19:25:12 -0800 |
| commit | 49b60ad29df26fb695fc99f1cf81cda72a0927c2 (patch) | |
| tree | 8cdd276d5cf779e26e33214f7dd7166c04833dd6 | |
| parent | b95f2357d85f7e0029a86b6f37ab7590f489c9c9 (diff) | |
| download | homebrew-49b60ad29df26fb695fc99f1cf81cda72a0927c2.tar.bz2 | |
srmio 0.1.1~git1
Closes #24920.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/srmio.rb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Library/Formula/srmio.rb b/Library/Formula/srmio.rb index de20e2c16..7b60c1743 100644 --- a/Library/Formula/srmio.rb +++ b/Library/Formula/srmio.rb @@ -2,16 +2,29 @@ require 'formula' class Srmio < Formula homepage 'http://www.zuto.de/project/srmio/' - url 'http://www.zuto.de/project/files/srmio/srmio-0.1.0.tar.gz' - sha1 '681fdf78ea0eae889fa93c929c5806da78fcca15' + url 'http://www.zuto.de/project/files/srmio/srmio-0.1.1~git1.tar.gz' + sha1 '0db685d6046fca38ad64df05840d01b5f3b27499' + version '0.1.1~git1' + + head do + url 'https://github.com/rclasen/srmio.git' + + depends_on :autoconf + depends_on :automake + depends_on :libtool + end def install + if build.head? + system "chmod u+x genautomake.sh" + system "./genautomake.sh" + end system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end def test - system "#{bin}/srmcmd", "--help" + system "#{bin}/srmcmd", "--version" end end |
