18 lines
377 B
Ruby
18 lines
377 B
Ruby
|
require 'formula'
|
||
|
|
||
|
|
||
|
class Darkstat < Formula
|
||
|
homepage 'http://unix4lyfe.org/darkstat/'
|
||
|
url 'http://unix4lyfe.org/darkstat/darkstat-3.0.715.tar.bz2'
|
||
|
sha1 'e635f7ae0c6dfe3a7d1fac3855ca733187163973'
|
||
|
|
||
|
def install
|
||
|
system "./configure", "--disable-debug", "--prefix=#{prefix}"
|
||
|
system "make install"
|
||
|
end
|
||
|
|
||
|
def test
|
||
|
system "#{sbin}/darkstat --version"
|
||
|
end
|
||
|
end
|