Sha256: 2be9b05d1cf255e901e1aef07cefed6cf91f08c6771daf9468ee5e71d7b3b507
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
require 'mkmf' raise 'gdal-config not found.' if `which gdal-config`.empty? dir_config 'gdal', `gdal-config --cflags`.split(' ')[0].gsub(/-I/, ''), `gdal-config --libs`.split(' ')[0].gsub(/-L/, '') have_library 'gdal' or raise 'libgdal not found' pkg_config 'gdal' $libs = append_library $libs, 'gdal' create_makefile('gdal-ruby/gdalconst')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gdal-0.0.5 | ext/gdal-ruby/gdalconst/extconf.rb |
gdal-0.0.4 | ext/gdal-ruby/gdalconst/extconf.rb |