summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-01-16 06:52:26 +0000
committerHans de Graaff <graaff@gentoo.org>2010-01-16 06:52:26 +0000
commit6a7d1f1705397f63bc47261d1beb015b96ed6d66 (patch)
treee5f0769fd1af8007e302162b259ca1cf3512b6cc /dev-ruby/rcairo
parentRemove old versions. (diff)
downloadgentoo-2-6a7d1f1705397f63bc47261d1beb015b96ed6d66.tar.gz
gentoo-2-6a7d1f1705397f63bc47261d1beb015b96ed6d66.tar.bz2
gentoo-2-6a7d1f1705397f63bc47261d1beb015b96ed6d66.zip
Version bump. Conversion to ruby-fakegem. Use gem again, Makefile now works on tmpfs.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rcairo')
-rw-r--r--dev-ruby/rcairo/ChangeLog10
-rw-r--r--dev-ruby/rcairo/rcairo-1.8.1.ebuild51
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog
index 2f38007bee49..b9929a9286b5 100644
--- a/dev-ruby/rcairo/ChangeLog
+++ b/dev-ruby/rcairo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rcairo
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.35 2009/12/09 20:51:04 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.36 2010/01/16 06:52:26 graaff Exp $
+
+*rcairo-1.8.1 (16 Jan 2010)
+
+ 16 Jan 2010; Hans de Graaff <graaff@gentoo.org> +rcairo-1.8.1.ebuild:
+ Version bump. Conversion to ruby-fakegem. Use gem again, Makefile now
+ works on tmpfs.
09 Dec 2009; Hans de Graaff <graaff@gentoo.org> -rcairo-1.4.1.ebuild:
Remove old version.
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..479f9b360684
--- /dev/null
+++ b/dev-ruby/rcairo/rcairo-1.8.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 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.1 2010/01/16 06:52:26 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=">=x11-libs/cairo-1.2.0[svg?]"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb
+}
+
+each_ruby_compile() {
+ emake
+}
+
+each_ruby_install() {
+ ruby_fakegem_genspec
+
+ 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."
+}