summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-07-23 20:12:34 +0200
committerHans de Graaff <graaff@gentoo.org>2016-07-23 21:09:15 +0200
commit59c24300edd043831b6a69056a172d40f3dd46ce (patch)
treef8c4efa001a79febb45b44c234dc80b4c76f9889 /dev-ruby/curses
parentapp-admin/puppet-lint: add ruby22 (diff)
downloadgentoo-59c24300edd043831b6a69056a172d40f3dd46ce.tar.gz
gentoo-59c24300edd043831b6a69056a172d40f3dd46ce.tar.bz2
gentoo-59c24300edd043831b6a69056a172d40f3dd46ce.zip
dev-ruby/curses: initial import
Missing dependency for app-editor/diakonos Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/curses')
-rw-r--r--dev-ruby/curses/Manifest1
-rw-r--r--dev-ruby/curses/curses-1.0.2.ebuild34
-rw-r--r--dev-ruby/curses/metadata.xml11
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/curses/Manifest b/dev-ruby/curses/Manifest
new file mode 100644
index 000000000000..699e75fa060b
--- /dev/null
+++ b/dev-ruby/curses/Manifest
@@ -0,0 +1 @@
+DIST curses-1.0.2.gem 34304 SHA256 6bb70325b45b82eacd219ffb51cbcd80b4ecf648493bc528384dfbafa9515e87 SHA512 5c448359106604ccf99d804bf3f2a6c3e62c23fc9e5926198cfdb83f5a108445cd780f1a7cba76a9929cee499d2c9e8ed1a14bcd9b72f9bf2dfde94c685f625d WHIRLPOOL d821fcde5f3033beec401fceb2e9150c48be19960b9f74ffd1aa9cf21b5b560fc9020161a3820ce0bbcc9a17a822e5284e4d265e74cbc4b9990f2e8271dda1f2
diff --git a/dev-ruby/curses/curses-1.0.2.ebuild b/dev-ruby/curses/curses-1.0.2.ebuild
new file mode 100644
index 000000000000..5497bd0ca97e
--- /dev/null
+++ b/dev-ruby/curses/curses-1.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby binding for curses, ncurses, and PDCurses"
+HOMEPAGE="https://github.com/ruby/curses"
+LICENSE="|| ( Ruby BSD-2 )"
+
+KEYWORDS="~amd64 ~x86"
+
+SLOT="1"
+IUSE=""
+
+DEPEND+=" sys-libs/ncurses:0"
+RDEPEND+=" sys-libs/ncurses:0"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/curses extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/curses
+ cp ext/curses/curses.so lib/ || die
+}
diff --git a/dev-ruby/curses/metadata.xml b/dev-ruby/curses/metadata.xml
new file mode 100644
index 000000000000..9515523604c6
--- /dev/null
+++ b/dev-ruby/curses/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ruby/curses</remote-id>
+ </upstream>
+</pkgmetadata>