2010-07-18 13:01:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Geany < Formula
|
2011-05-29 04:30:58 +00:00
|
|
|
homepage 'http://geany.org/'
|
2012-02-09 18:33:19 +00:00
|
|
|
url 'http://download.geany.org/geany-0.21.tar.gz'
|
|
|
|
sha256 'a1aa27d2f946ccca8a4e57faf0029cf6aa544d5d52f0170e017c137c33b4b67d'
|
2010-07-18 13:01:49 +00:00
|
|
|
|
2012-08-07 03:51:09 +00:00
|
|
|
depends_on :x11
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:39:45 +00:00
|
|
|
depends_on 'intltool' => :build
|
2010-07-18 13:01:49 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
2012-06-12 04:01:32 +00:00
|
|
|
# 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}"
|
2010-07-18 13:01:49 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|