aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/geany.rb
blob: 3359d5009dce8e65f9bdd2648da7f1bd12306e42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 '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