Sha256: e1d48169b3f4b10226b724c684e8354d572d325692620a309f1f22de52d358d5

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 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/gdal'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gdal-0.0.5 ext/gdal-ruby/gdal/extconf.rb
gdal-0.0.4 ext/gdal-ruby/gdal/extconf.rb