Sha256: ad89f514c485823d2a7b49be1a5235ef7107c09556be6d11955a62213140ab49

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

require 'rubygems'
require 'hoe'

EXT = "ext/blah.#{Hoe::DLEXT}"

Hoe.new('libsvm-ruby', '0.2.0') do |p|
  p.author = 'FeedbackMine'
  p.email = 'feedbackmine@feedbackmine.com'
  p.url = 'http://www.tweetjobsearch.com'
  p.summary = 'ruby wrapper of libsvm'
  p.description = 'ruby wrapper of libsvm'
  
  p.spec_extras[:extensions] = "ext/extconf.rb"
  p.clean_globs << EXT << "ext/*.o" << "ext/Makefile"
end

task :test => EXT

file EXT => ["ext/extconf.rb", "ext/svmc_wrap.cxx", "ext/svm.cpp", "ext/svm.h"] do
  Dir.chdir "ext" do
    ruby "extconf.rb"
    sh "make"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedbackmine-libsvm-ruby-0.2.0 Rakefile