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'
|
|
|
|
md5 '24be262075ce8f268caf86ffe20fe268'
|
|
|
|
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-03-20 03:26:42 +00:00
|
|
|
system "#{bin}/csup -v"
|
2011-09-30 15:26:41 +00:00
|
|
|
end
|
|
|
|
end
|