Sha256: a142c9011837f7543ccc37969c155fb94e615e8ffaee3ec55aac99b900631015

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

#!/usr/bin/ruby
require 'rubygems'
require 'mkmf'
require 'rake'

libcharguess = File.expand_path(File.dirname(__FILE__), "../libcharguess/cpp")

Dir.chdir(libcharguess) do
  sh("./configure")
  sh("make")
end

dir_config('charguess', libcharguess, libcharguess)

if have_library('charguess') && have_library('stdc++') && have_header('charguess.h')
  create_makefile('charguess')
else
  raise "Charguess library not installed"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
charguess-1.2 ext/charguess/extconf.rb
charguess-1.1 ext/charguess/extconf.rb