aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/roundup.rb
blob: 82cdf7b851e4fcfa81e3cd220039383f0608de03 (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.com/roundup'
  url 'https://github.com/bmizerany/roundup/tarball/v0.0.5'
  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 "#{bin}/roundup", "-v"
  end
end