homebrew-core/Formula/roundup.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

23 lines
617 B
Ruby

require 'formula'
class Roundup < Formula
homepage 'http://bmizerany.github.io/roundup'
url 'https://github.com/bmizerany/roundup/archive/v0.0.5.tar.gz'
sha1 '76ad889ed8e4c32d24847ba2848a8515199e0966'
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
test do
system "#{bin}/roundup", "-v"
end
end