master
Žilvinas Valinskas 2014-07-21 23:44:52 +03:00 committed by Mike McQuaid
parent 6a81ed0012
commit 6986764a68
1 changed files with 14 additions and 4 deletions

View File

@ -1,12 +1,22 @@
require 'formula'
class Bmon < Formula
homepage 'http://people.suug.ch/~tgr/bmon'
url 'http://mirrors.kernel.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz'
mirror 'http://ftp.us.debian.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz'
sha1 'ef6297bbd7a5f9a351e14b2b3e9f45157b136a9c'
homepage 'https://github.com/tgraf/bmon'
url "https://github.com/tgraf/bmon/releases/download/v3.3/bmon-3.3.tar.gz"
sha1 "f21d7fc70fdc140680f7ef466242d876474ed2aa"
head do
url "https://github.com/tgraf/bmon.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
end
depends_on "confuse" => :build
depends_on "pkg-config" => :build
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--mandir=#{man}"