Sha256: 9d76536abd47e12256c9a21fb724793d2907daffb8098565429c5c38e0ded04a
Contents?: true
Size: 805 Bytes
Versions: 1
Compression:
Stored size: 805 Bytes
Contents
require 'mkmf' root = File.expand_path('../..', __FILE__) src_dir = File.join(root, 'src') bin_dir = File.join(root, 'bin') tgz_filename = "htmldoc-1.8.28-source.tar.gz" tgz_file = File.join(src_dir, tgz_filename) patch_filename = "htmldoc-1.8.28.patch" Dir.chdir(src_dir) do puts "===> Changing to directory: #{src_dir}" puts "===> Extracting #{tgz_filename}" system "tar xzf #{tgz_filename} --strip-components=1" puts "===> Configuring with prefix: #{root}" system "./configure --prefix=#{root}" puts "===> Building..." system "make" puts "===> Installing..." system "make install" raise "make install failed!" unless File.exist?(bin_dir) puts "===> Cleaning up..." system "make clean" end puts "===> Done compiling htmldoc." create_makefile 'htmldoc_remote_compile_wrapper'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
htmldoc_remote_compile_wrapper-0.7 | ext/extconf.rb |