Sha256: 85cb779da82ad37596b3e793fdf727fe43bbb9d5a8e637c959f4f51095456adc
Contents?: true
Size: 425 Bytes
Versions: 3
Compression:
Stored size: 425 Bytes
Contents
require 'mkmf' raise 'gdal-config not found.' if `which gdal-config`.empty? 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/ogr')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gdal-0.0.3 | ext/gdal-ruby/ogr/extconf.rb |
gdal-0.0.2 | ext/gdal-ruby/ogr/extconf.rb |
gdal-0.0.1 | ext/gdal-ruby/ogr/extconf.rb |