homebrew-core/Formula/libglade.rb
Jack Nagel 4d9352867d libglade: help the linker find libgmodule
Fixes Homebrew/homebrew#11961.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30 15:42:31 -05:00

16 lines
455 B
Ruby

require 'formula'
class Libglade < Formula
url 'http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/libglade-2.6.4.tar.gz'
homepage 'http://glade.gnome.org'
sha256 'c41d189b68457976069073e48d6c14c183075d8b1d8077cb6dfb8b7c5097add3'
depends_on 'libxml2'
depends_on 'gtk+'
def install
ENV.append 'LDFLAGS', '-lgmodule-2.0'
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end