27 lines
818 B
Ruby
27 lines
818 B
Ruby
require 'formula'
|
|
|
|
class Libglade < Formula
|
|
desc "RAD tool to help build GTK+ interfaces"
|
|
homepage 'http://glade.gnome.org'
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/libglade-2.6.4.tar.gz'
|
|
sha256 'c41d189b68457976069073e48d6c14c183075d8b1d8077cb6dfb8b7c5097add3'
|
|
|
|
bottle do
|
|
revision 1
|
|
sha1 "2f193f2ddc352de7050bd1d7279a81136c1e1522" => :yosemite
|
|
sha1 "a7920dc757aaf9353b360077f51dc323648855fb" => :mavericks
|
|
sha1 "f6777adb7998cd1de73f8a7f51c6b57786050872" => :mountain_lion
|
|
end
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libxml2'
|
|
depends_on 'gtk+'
|
|
depends_on :x11
|
|
|
|
def install
|
|
ENV.append 'LDFLAGS', '-lgmodule-2.0'
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|