505ebb8fd8
Roundup is a useful shell utility for unit testing shell scripts. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
537 B
Ruby
20 lines
537 B
Ruby
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
|