require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "clipboard" gem.summary = %Q{Access the clipboard on all systems} gem.description = %Q{Access the clipboard on all systems (Clipboard.copy & Clipboard.paste)} gem.email = "mail@janlelis.de" gem.homepage = "http://github.com/janlelis/clipboard" gem.authors = ["Jan Lelis"] gem.add_development_dependency "jeweler", ">= 0" gem.add_dependency('zucker', '>= 8') gem.add_dependency('ffi') gem.requirements << 'on linux (or other X), you need xclip. Install it on debian/ubuntu with sudo apt-get install xclip' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'doc' rdoc.title = "clipboard #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end