summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-05-31 17:57:17 +0000
committerHans de Graaff <graaff@gentoo.org>2011-05-31 17:57:17 +0000
commit79d2fd78a77cd7921d48e5da1c59729d78f89a09 (patch)
tree4e39a4561c9d347ad70759b0f2919f617fc01ea9 /dev-ruby/ncurses-ruby
parentversion bump (diff)
downloadgentoo-2-79d2fd78a77cd7921d48e5da1c59729d78f89a09.tar.gz
gentoo-2-79d2fd78a77cd7921d48e5da1c59729d78f89a09.tar.bz2
gentoo-2-79d2fd78a77cd7921d48e5da1c59729d78f89a09.zip
Version bump. Drop patch that got applied upstream.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ncurses-ruby')
-rw-r--r--dev-ruby/ncurses-ruby/ChangeLog7
-rw-r--r--dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/ncurses-ruby/ChangeLog b/dev-ruby/ncurses-ruby/ChangeLog
index 7472d5c846c4..12d8f024e0ef 100644
--- a/dev-ruby/ncurses-ruby/ChangeLog
+++ b/dev-ruby/ncurses-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ncurses-ruby
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ChangeLog,v 1.55 2011/01/31 07:17:28 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ChangeLog,v 1.56 2011/05/31 17:57:17 graaff Exp $
+
+*ncurses-ruby-1.3.1 (31 May 2011)
+
+ 31 May 2011; Hans de Graaff <graaff@gentoo.org> +ncurses-ruby-1.3.1.ebuild:
+ Version bump. Drop patch that got applied upstream.
31 Jan 2011; Hans de Graaff <graaff@gentoo.org>
-ncurses-ruby-1.2.3.ebuild:
diff --git a/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild b/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild
new file mode 100644
index 000000000000..1b8715fc8536
--- /dev/null
+++ b/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild,v 1.1 2011/05/31 17:57:17 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Changes README THANKS TODO"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby wrappers of ncurses and PDCurses libs"
+HOMEPAGE="http://ncurses-ruby.berlios.de/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples"
+
+DEPEND=">=sys-libs/ncurses-5.3"
+RDEPEND="${DEPEND}"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake || die
+ mv ncurses_bin$(get_modname) lib/ || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die
+ fi
+}