Sha256: 7d938f712382267181e7d46d9a59a04af17105a4f7671ebf5af4819bfcbce2a4
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 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) 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.6 | ext/extconf.rb |