diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-05-02 20:05:29 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-05-02 20:05:29 +0000 |
commit | 37dee16acac1ade4b5f3e6c910a30839ab3b5bc4 (patch) | |
tree | 975c32ba3886cfa6ab99c7ff8fd38e41e7d250e4 /dev-ruby | |
parent | Marked ~x64-freebsd (diff) | |
download | gentoo-2-37dee16acac1ade4b5f3e6c910a30839ab3b5bc4.tar.gz gentoo-2-37dee16acac1ade4b5f3e6c910a30839ab3b5bc4.tar.bz2 gentoo-2-37dee16acac1ade4b5f3e6c910a30839ab3b5bc4.zip |
Add back rcairo 1.8.1 until newer versions go together with media-sound/rubyripper.
(Portage version: 2.1.9.42/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rcairo/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.8.1.ebuild | 53 |
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index f1689fed4a14..47a9db97ce83 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/rcairo # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.61 2011/05/02 19:07:57 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.62 2011/05/02 20:05:29 graaff Exp $ + + 02 May 2011; Hans de Graaff <graaff@gentoo.org> +rcairo-1.8.1.ebuild: + Add back rcairo 1.8.1 until newer versions go together with + media-sound/rubyripper. *rcairo-1.10.0-r3 (02 May 2011) diff --git a/dev-ruby/rcairo/rcairo-1.8.1.ebuild b/dev-ruby/rcairo/rcairo-1.8.1.ebuild new file mode 100644 index 000000000000..5cdaefa95353 --- /dev/null +++ b/dev-ruby/rcairo/rcairo-1.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.1.ebuild,v 1.9 2011/05/02 20:05:29 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +# Documentation depends on files that are not distributed. +RUBY_FAKEGEM_TASK_DOC="" + +# Depends on test-unit-2 which is currently masked. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog NEWS README" + +inherit ruby-fakegem + +IUSE="svg" + +DESCRIPTION="Ruby bindings for cairo" +HOMEPAGE="http://cairographics.org/rcairo/" +SRC_URI="mirror://rubygems/cairo-${PV}.gem" + +SLOT="0" +LICENSE="|| ( Ruby GPL-2 )" +KEYWORDS="alpha amd64 ia64 ppc sparc x86" + +RDEPEND="${RDEPEND} + >=x11-libs/cairo-1.2.0[svg?]" +DEPEND="${DEPEND} + >=x11-libs/cairo-1.2.0[svg?] + dev-util/pkgconfig" + +each_ruby_configure() { + ${RUBY} extconf.rb +} + +each_ruby_compile() { + emake +} + +each_ruby_install() { + ruby_fakegem_install_gemspec + + emake install DESTDIR="${D}" +} + +all_ruby_install() { + dohtml -r doc/* || die "Cannot install documentation." + + insinto /usr/share/doc/${PF}/samples + doins -r samples/* || die "Cannot install sample files." +} |