aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Gadomski2010-03-21 07:23:42 -0400
committerAdam Vandenberg2010-03-22 11:14:27 -0700
commitf5bacb80d314da905be2db17b19f3266bc56f7e5 (patch)
treeb544885638e24d6f9e0456075ceb0aaa9cbdcc57
parentd8f5f2a21e595b318e27eba9bc05a0a6b7de18f4 (diff)
downloadhomebrew-f5bacb80d314da905be2db17b19f3266bc56f7e5.tar.bz2
New formula: libgeotiff
Libgeotiff is an open source library normally hosted on top of libtiff for reading, and writing GeoTIFF information tags. The libgeotiff library is a sub-project of the MetaCRS project. http://trac.osgeo.org/geotiff/ Signed-off-by: Pete Gadomski <pete.gadomski@gmail.com> Signed-off-by: Adam Vandenberg <flangy@gmail.com> Add optional dependencies to libgeotiff.
-rw-r--r--Library/Formula/libgeotiff.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/libgeotiff.rb b/Library/Formula/libgeotiff.rb
new file mode 100644
index 000000000..7e43d26c5
--- /dev/null
+++ b/Library/Formula/libgeotiff.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Libgeotiff <Formula
+ url 'ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/libgeotiff-1.2.5.tar.gz'
+ homepage 'http://geotiff.osgeo.org/'
+ md5 '000f247a88510f1b38d4b314d1e47048'
+
+ depends_on 'libtiff'
+ depends_on 'jpeg' => :optional
+ depends_on 'proj' => :optional
+
+ def install
+ system "./configure", "--disable-debug", "--prefix=#{prefix}"
+ system "make" # Separate steps or install fails
+ system "make install"
+ end
+end