1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
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 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"
system "make"
system "make install"
end
end
|