homebrew-core/Formula/geany.rb

23 lines
626 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Geany < Formula
homepage 'http://geany.org/'
url 'http://download.geany.org/geany-0.21.tar.gz'
sha256 'a1aa27d2f946ccca8a4e57faf0029cf6aa544d5d52f0170e017c137c33b4b67d'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'intltool'
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