Created
August 24, 2010 04:36
-
-
Save rkumar/546961 to your computer and use it in GitHub Desktop.
ncurses gemspec for 0.9.2 (ruby 1.9.2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
PLUGIN = "ncurses" | |
NAME = "ncurses" | |
VERSION = "0.9.2" | |
AUTHOR = "Tobias Peters" | |
EMAIL = "t-peters@users.berlios.de" | |
HOMEPAGE = "http://ncurses-ruby.berlios.de/" | |
SUMMARY = "This wrapper provides access to the functions, macros, global variables and constants of the ncurses library. These are mapped to a Ruby Module named \"Ncurses\": Functions and external variables are implemented as singleton functions of the Module Ncurses." | |
spec = Gem::Specification.new do |s| | |
s.name = NAME | |
s.email = EMAIL | |
s.author = AUTHOR | |
s.version = VERSION | |
s.summary = SUMMARY | |
s.platform = Gem::Platform::RUBY | |
s.has_rdoc = false | |
s.homepage = HOMEPAGE | |
s.description = SUMMARY | |
s.autorequire = PLUGIN | |
s.require_paths = ["lib"] | |
s.files = Dir.glob("[A-Z]*") + Dir.glob("*.{c,h,rb}") + Dir.glob("{examples,lib}/**/*") | |
s.extensions = "extconf.rb" | |
end | |
# adapted by rkumar for ruby 1.9.2 ncurses (rbcurse widget library) | |
# save this file as ncurses.gemspec in same folder | |
# sudo gem build ncurses.gemspec | |
# sudo gem install --local ncurses-0.9.1.gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment