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