Created
August 20, 2010 04:11
-
-
Save alexcabrera/539573 to your computer and use it in GitHub Desktop.
Comment out --with-png for successful build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Gdal <Formula | |
url 'http://download.osgeo.org/gdal/gdal-1.7.2.tar.gz' | |
homepage 'http://www.gdal.org/' | |
md5 '05351f8cb61761ae579667e24a297fe6' | |
depends_on 'libtiff' | |
depends_on 'giflib' | |
depends_on 'proj' | |
depends_on 'geos' | |
def skip_clean? path | |
true | |
end | |
def install | |
system "./configure", "--prefix=#{prefix}", | |
"--disable-debug", | |
"--disable-dependency-tracking", | |
"--with-pthreads", | |
"--with-local=#{prefix}", | |
#"--with-png=/usr/X11", | |
"--without-pg", | |
"--without-grass", | |
"--without-libgrass", | |
"--without-cfitsio", | |
"--without-pcraster", | |
"--without-netcdf", | |
"--without-ogdi", | |
"--without-fme", | |
"--without-hdf4", | |
"--without-hdf5", | |
"--without-jasper", | |
"--without-ecw", | |
"--without-kakadu", | |
"--without-mrsid", | |
"--without-jp2mrsid", | |
"--without-msg", | |
"--without-bsb", | |
"--without-oci", | |
"--without-grib", | |
"--without-mysql", | |
"--without-ingres", | |
"--without-xerces", | |
"--without-expat", | |
"--without-odbc", | |
"--with-dods-support=no", | |
"--without-curl", | |
"--without-sqlite3", | |
"--without-dwgdirect", | |
"--without-idb", | |
"--without-sde", | |
#"--without-geos", | |
"--without-pam", | |
"--without-macosx-framework", | |
"--without-perl", | |
"--without-php", | |
#"--without-ruby", | |
#"--without-python", | |
"--without-ogpython", | |
"--without-xerces" | |
ENV.deparallelize | |
ENV.no_optimization | |
system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment