aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2015-02-06 03:36:54 +0000
committerXu Cheng2015-03-30 13:26:44 +0800
commit7cb769d4e61b64da2a7efcf91c9a58d77fa0d95a (patch)
treeccd60c6f2dc82ba3389dc3b5bf84f4ad6be60d95
parent9c0effe4e0c84155a93c80644d491a3a0cd54b2d (diff)
downloadhomebrew-7cb769d4e61b64da2a7efcf91c9a58d77fa0d95a.tar.bz2
cattle 1.2.0
Version bump, added head, fixed single quotes. Closes #36588. Signed-off-by: Xu Cheng <xucheng@me.com>
-rw-r--r--Library/Formula/cattle.rb27
1 files changed, 16 insertions, 11 deletions
diff --git a/Library/Formula/cattle.rb b/Library/Formula/cattle.rb
index 7f14047f5..23febe4e0 100644
--- a/Library/Formula/cattle.rb
+++ b/Library/Formula/cattle.rb
@@ -1,24 +1,29 @@
-require 'formula'
-
class Cattle < Formula
- homepage 'https://github.com/andreabolognani/cattle#readme'
- url 'https://github.com/andreabolognani/cattle/archive/cattle-1.0.1.tar.gz'
- sha1 '1c60cdf8dc6b2b27bd4dfb79adea905a22e033c2'
+ homepage "https://github.com/andreabolognani/cattle"
+ url "https://github.com/andreabolognani/cattle/archive/cattle-1.2.0.tar.gz"
+ sha256 "ff0b424011c56f61cb463f1d3fb32e58e40da41260298c407bd0748eb506468d"
+ head "https://github.com/andreabolognani/cattle.git"
- depends_on 'glib'
- depends_on 'gobject-introspection'
- depends_on 'gtk-doc' => :build
- depends_on 'pkg-config' => :build
+ # https://github.com/andreabolognani/cattle/issues/2
+ patch do
+ url "https://github.com/andreabolognani/cattle/pull/3.diff"
+ sha256 "876802fd965050d95e9cd7836b71a3cac5cd2508bf7f45b17192803a6fe19c17"
+ end
+ depends_on "gtk-doc" => :build
+ depends_on "pkg-config" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
+ depends_on "glib"
+ depends_on "gobject-introspection"
def install
- inreplace 'autogen.sh', 'libtoolize', 'glibtoolize'
+ inreplace "autogen.sh", "libtoolize", "glibtoolize"
- system 'sh autogen.sh'
+ system "sh", "autogen.sh"
system "./configure", "--disable-dependency-tracking",
+ "--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end