From f5bacb80d314da905be2db17b19f3266bc56f7e5 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Sun, 21 Mar 2010 07:23:42 -0400 Subject: 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 Signed-off-by: Adam Vandenberg Add optional dependencies to libgeotiff. --- Library/Formula/libgeotiff.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/libgeotiff.rb (limited to 'Library/Formula') 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 :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 -- cgit v1.2.3