aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-07-25 09:40:40 -0700
committerAdam Vandenberg2011-07-25 09:40:40 -0700
commitc82d416c0230c301d3b4a74a619a6be0b8840bc8 (patch)
tree775cab277eb3cd7587747171fbe7fe7bb1be3ab6 /Library/Formula
parent4ae8f86fae0d1f3ac98082e167fc3237cffa41ad (diff)
downloadhomebrew-c82d416c0230c301d3b4a74a619a6be0b8840bc8.tar.bz2
gdal: stylistic changes
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gdal.rb26
1 files changed, 15 insertions, 11 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb
index ddc707921..066a24361 100644
--- a/Library/Formula/gdal.rb
+++ b/Library/Formula/gdal.rb
@@ -22,30 +22,26 @@ end
class Gdal < Formula
url 'http://download.osgeo.org/gdal/gdal-1.8.1.tar.gz'
- head 'https://svn.osgeo.org/gdal/trunk/gdal', :using => :svn
homepage 'http://www.gdal.org/'
md5 'b32269893afc9dc9eced45e74e4c6bb4'
+ head 'https://svn.osgeo.org/gdal/trunk/gdal', :using => :svn
+
depends_on 'jpeg'
depends_on 'giflib'
depends_on 'proj'
depends_on 'geos'
+ depends_on "postgresql" if postgres?
+ depends_on "mysql" if mysql?
+
if complete?
# Raster libraries
depends_on "netcdf" # Also brings in HDF5
depends_on "jasper" # May need a keg-only GeoJasPer library as this one is
# not geo-spatially enabled.
depends_on "cfitsio"
-
depends_on "epsilon"
- def patches
- # EPSILON v0.9.x slightly modified the naming of some struct members. A
- # fix is in the GDAL trunk but was kept out of 1.8.1 due to concern for
- # users of EPSILON v0.8.x. Homebrew installs 0.9.2+ so this concern is a
- # moot point.
- {:p1 => DATA}
- end
# Vector libraries
depends_on "unixodbc" # OS X version is not complete enough
@@ -57,8 +53,15 @@ class Gdal < Formula
depends_on "lzma" # Compression algorithmn library
end
- depends_on "postgresql" if postgres?
- depends_on "mysql" if mysql?
+ def patches
+ if complete?
+ # EPSILON v0.9.x slightly modified the naming of some struct members. A
+ # fix is in the GDAL trunk but was kept out of 1.8.1 due to concern for
+ # users of EPSILON v0.8.x. Homebrew installs 0.9.2+ so this concern is a
+ # moot point.
+ {:p1 => DATA}
+ end
+ end
def options
[
@@ -234,6 +237,7 @@ directory is added to the PYTHONPATH:
end
end
+
__END__
This patch updates GDAL to be compatible with EPSILON 0.9.x. Changes sourced from the GDAL trunk: