aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/roundup.rb
diff options
context:
space:
mode:
authorMichael Hanson2011-12-11 01:48:02 -0800
committerAdam Vandenberg2011-12-15 21:41:51 -0800
commit0f9712e98948b1a7a07feedd5a505cd7a49fbbc8 (patch)
tree957b46a4282a29c45eb18aa8ed1f0b6ff512e0f8 /Library/Formula/roundup.rb
parentf31f3f9e5b8fb1acedb7aa7106109e87e331af1c (diff)
downloadhomebrew-0f9712e98948b1a7a07feedd5a505cd7a49fbbc8.tar.bz2
Roundup 0.0.5
Roundup is a useful shell utility for unit testing shell scripts. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/roundup.rb')
-rw-r--r--Library/Formula/roundup.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/roundup.rb b/Library/Formula/roundup.rb
new file mode 100644
index 000000000..0c92e2293
--- /dev/null
+++ b/Library/Formula/roundup.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Roundup < Formula
+ url 'https://github.com/bmizerany/roundup/tarball/v0.0.5'
+ homepage 'http://bmizerany.github.com/roundup'
+ md5 '74623a63f4386286caafdec8b9c0f84d'
+ head 'https://github.com/bmizerany/roundup.git'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--bindir=#{bin}",
+ "--mandir=#{man}", "--sysconfdir=#{etc}",
+ "--datarootdir=#{share}"
+ system "make"
+ system "make install"
+ end
+
+ def test
+ system "roundup"
+ end
+end