2011-09-30 15:26:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Csup < Formula
|
2012-03-20 03:26:42 +00:00
|
|
|
homepage 'https://bitbucket.org/mux/csup'
|
|
|
|
url 'https://bitbucket.org/mux/csup/get/REL_20120305.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'caef119168723f1c1d6d32c0f2a1ac392df87afe'
|
2012-03-20 03:26:42 +00:00
|
|
|
head 'https://bitbucket.org/mux/csup', :using => :hg
|
2011-09-30 15:26:41 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "csup"
|
|
|
|
man1.install "csup.1"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/csup", "-v"
|
2011-09-30 15:26:41 +00:00
|
|
|
end
|
|
|
|
end
|