blob: 7ab99b433c08d633cdf67e7fde17fc5fbcc1573b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
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
|