aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAnthony DeStefano2013-04-17 18:11:46 -0400
committerAdam Vandenberg2013-08-05 21:50:31 -0700
commit10ca26864c2e9dfa9f5d52345bdaf10d3743b623 (patch)
tree68c1c5b3abbe86370eff850488ff85b7dbe31c30 /Library
parenta53761acd1715a03f5a788c61ad7dd1d0f989868 (diff)
downloadhomebrew-10ca26864c2e9dfa9f5d52345bdaf10d3743b623.tar.bz2
gpredict 1.3
Gpredict is a real-time satellite tracking and orbit prediction application. It can track an unlimited number of satellites and display their position and other data in lists, tables, maps, and polar plots (radar view). Gpredict can also predict the time of future passes for a satellite, and provide you with detailed information about each pass. Closes #19272. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gpredict.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/gpredict.rb b/Library/Formula/gpredict.rb
new file mode 100644
index 000000000..1535ac87d
--- /dev/null
+++ b/Library/Formula/gpredict.rb
@@ -0,0 +1,27 @@
+require 'formula'
+
+class Gpredict < Formula
+ homepage 'http://gpredict.oz9aec.net/'
+ url 'http://downloads.sourceforge.net/project/gpredict/Gpredict/1.3/gpredict-1.3.tar.gz'
+ 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
+ gettext = Formula.factory('gettext')
+ ENV.append "CFLAGS", "-I#{gettext.include}"
+ ENV.append "LDFLAGS", "-L#{gettext.lib}"
+
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make", "install"
+ end
+end