homebrew-core/Formula/cattle.rb
Baptiste Fontaine 881700c38b Cattle 1.0.1
Closes Homebrew/homebrew#21575.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-14 08:05:32 -08:00

25 lines
702 B
Ruby

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'
depends_on 'glib'
depends_on 'gobject-introspection'
depends_on 'gtk-doc' => :build
depends_on 'pkg-config' => :build
depends_on :autoconf => :build
depends_on :automake => :build
depends_on :libtool => :build
def install
inreplace 'autogen.sh', 'libtoolize', 'glibtoolize'
system 'sh autogen.sh'
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end