Sha256: bac962e56d3605e9e8c7f926484c07a3172d9d3e383616e6ef62b15ee337e384

Contents?: true

Size: 683 Bytes

Versions: 1

Compression:

Stored size: 683 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'rbconfig'
require 'hoe'

EXT = "ext/xmlparser.#{RbConfig::CONFIG["DLEXT"]}"

class XMLParser
  VERSION = "0.6.81.1"
end

Hoe.spec('xmlparser') do
  self.version = XMLParser::VERSION
  self.rubyforge_name = 'xmlparser' # if different than lowercase project name
  self.developer('Yoshida Mataso with Jeff Hodges with Yusuke Endoh', 'mame@tsg.ne.jp')
  self.spec_extras[:extensions] = "ext/extconf.rb"
  self.clean_globs << EXT << "ext/*.o" << "ext/Makefile" << "ext/mkmf.log"
end

task :test => EXT

file EXT => ["ext/extconf.rb", "ext/xmlparser.c"] do
  Dir.chdir "ext" do
    ruby "extconf.rb"
    sh "make"
  end
end

# vim: syntax=ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mame-xmlparser-0.6.81.1 Rakefile