aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/roundup.rb
blob: 6293a1bc7b3dc37c14f1273720418afb43428712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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