diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-07-10 07:39:29 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-07-10 07:39:29 +0000 |
commit | 5e2c346062d02ef4242c7ceb1950bd771ad45058 (patch) | |
tree | 750125136cbe25cc288f7042ff12929eecafed02 /dev-ruby | |
parent | Force --disable-dlopen per discussion in #179764. (diff) | |
download | gentoo-2-5e2c346062d02ef4242c7ceb1950bd771ad45058.tar.gz gentoo-2-5e2c346062d02ef4242c7ceb1950bd771ad45058.tar.bz2 gentoo-2-5e2c346062d02ef4242c7ceb1950bd771ad45058.zip |
Install examples. Thanks to Manu Wächter for reporting in bug 326915.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ncurses-ruby/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/ncurses-ruby/ncurses-ruby-1.2.4-r1.ebuild | 41 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/ncurses-ruby/ChangeLog b/dev-ruby/ncurses-ruby/ChangeLog index d36ad9e1a272..cc8a13a109de 100644 --- a/dev-ruby/ncurses-ruby/ChangeLog +++ b/dev-ruby/ncurses-ruby/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/ncurses-ruby # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ChangeLog,v 1.44 2010/06/26 13:20:01 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ChangeLog,v 1.45 2010/07/10 07:39:29 graaff Exp $ + +*ncurses-ruby-1.2.4-r1 (10 Jul 2010) + + 10 Jul 2010; Hans de Graaff <graaff@gentoo.org> + +ncurses-ruby-1.2.4-r1.ebuild: + Install examples. Thanks to Manu Wächter for reporting in bug 326915. *ncurses-ruby-1.2.4 (26 Jun 2010) diff --git a/dev-ruby/ncurses-ruby/ncurses-ruby-1.2.4-r1.ebuild b/dev-ruby/ncurses-ruby/ncurses-ruby-1.2.4-r1.ebuild new file mode 100644 index 000000000000..ac2fdf980b02 --- /dev/null +++ b/dev-ruby/ncurses-ruby/ncurses-ruby-1.2.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 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.2.4-r1.ebuild,v 1.1 2010/07/10 07:39:29 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +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 +} |