2010-07-18 13:01:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Geany < Formula
|
2010-07-18 13:01:49 +00:00
|
|
|
url 'http://download.geany.org/geany-0.19.tar.gz'
|
|
|
|
homepage 'http://www.geany.org/Main/HomePage'
|
|
|
|
md5 '727cec2936846850bb088b476faad5f2'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-07-18 13:01:49 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'intltool'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
|
|
|
|
def install
|
|
|
|
intltool = Formula.factory('intltool')
|
|
|
|
ENV.append "PATH", intltool.bin, ":"
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|