From 6986764a684eb32ec8fc5b0e237a9e22b8d7b710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDilvinas=20Valinskas?= Date: Mon, 21 Jul 2014 23:44:52 +0300 Subject: [PATCH] bmon 3.3 --- Formula/bmon.rb | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Formula/bmon.rb b/Formula/bmon.rb index 3b0b4fc5a88..d0018f713f3 100644 --- a/Formula/bmon.rb +++ b/Formula/bmon.rb @@ -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}"