aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrett Koonce2013-12-20 18:56:35 -0600
committerJack Nagel2013-12-21 17:46:04 -0600
commit3c0a51487c1887ea3cba8fcfd8260f5698cc6a02 (patch)
treeac20844c93d21a963babe4c52ecc94e9f3848279 /Library
parent466a8dd537165a1d20541c4d95d7a5ba7ab61f64 (diff)
downloadhomebrew-3c0a51487c1887ea3cba8fcfd8260f5698cc6a02.tar.bz2
snzip 1.0.1
[jn: fix test] Closes #25368. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/snzip.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/snzip.rb b/Library/Formula/snzip.rb
index 992b68cbd..d1496dbc3 100644
--- a/Library/Formula/snzip.rb
+++ b/Library/Formula/snzip.rb
@@ -2,19 +2,22 @@ require 'formula'
class Snzip < Formula
homepage 'https://github.com/kubo/snzip'
- url 'https://github.com/downloads/kubo/snzip/snzip-0.9.0.tar.gz'
- sha1 '04c02df2cfe80dbe7222dfd6b3e0b0747fdbc024'
+ url 'https://github.com/kubo/snzip/archive/1.0.1.tar.gz'
+ sha1 '3aac364c0a508cdb06d771cede6c5758aeb89666'
+ depends_on 'automake' => :build
+ depends_on 'autoconf' => :build
depends_on 'snappy'
def install
+ system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
(testpath/'test.out').write "test"
- system "snzip", "test.out"
- system "snzip", "-d", "test.out.snz"
+ system "#{bin}/snzip", "test.out"
+ system "#{bin}/snzip", "-d", "test.out.sz"
end
end