2013-04-17 22:11:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gpredict < Formula
|
|
|
|
homepage 'http://gpredict.oz9aec.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/gpredict/Gpredict/1.3/gpredict-1.3.tar.gz'
|
2013-04-17 22:11:46 +00:00
|
|
|
sha1 'a02a979fb68f9be8b9294a7c4ca248aaecd73b34'
|
|
|
|
|
|
|
|
depends_on :x11
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'intltool' => :build
|
|
|
|
depends_on 'curl'
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'goocanvas'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'hamlib'
|
|
|
|
|
|
|
|
def install
|
2014-02-25 06:58:45 +00:00
|
|
|
gettext = Formula['gettext']
|
2013-04-17 22:11:46 +00:00
|
|
|
ENV.append "CFLAGS", "-I#{gettext.include}"
|
|
|
|
ENV.append "LDFLAGS", "-L#{gettext.lib}"
|
|
|
|
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|