Sha256: 1e848ea8a3f041841a187a94755278a21bb8455723ff6d707c2ef5a9d14a2ccb
Contents?: true
Size: 566 Bytes
Versions: 3
Compression:
Stored size: 566 Bytes
Contents
require 'mkmf' dir_config('curl') unless have_library('curl') && have_header('curl/curl.h') fail <<-EOM Can't find libcurl or curl/curl.h Try passing --with-curl-dir or --with-curl-lib and --with-curl-include options to extconf. EOM end #install_rb("curb.rb", "$(RUBYLIBDIR)", '../lib') #install_rb("curl.rb", "$(RUBYLIBDIR)", '../lib') $INSTALLFILES = [["curb.rb", "$(RUBYLIBDIR)", "../ext"], ["curl.rb", "$(RUBYLIBDIR)", "../ext"]] if try_compile('int main() { return 0; }','-Wall') $CFLAGS << ' -Wall' end create_makefile('curb_core')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
curb-0.1.0 | ext/extconf.rb |
curb-0.1.2 | ext/extconf.rb |
curb-0.1.4 | ext/extconf.rb |