homebrew-core/Formula/geany.rb
2013-02-03 14:47:56 -06:00

23 lines
654 B
Ruby

require 'formula'
class Geany < Formula
homepage 'http://geany.org/'
url 'http://download.geany.org/geany-0.21.tar.gz'
sha256 'a1aa27d2f946ccca8a4e57faf0029cf6aa544d5d52f0170e017c137c33b4b67d'
depends_on :x11
depends_on 'pkg-config' => :build
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'gtk+'
def install
# Needed to compile against current version of glib.
# Check that this is still needed when updating the formula.
ENV.append 'LDFLAGS', '-lgmodule-2.0'
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end