diff options
Diffstat (limited to 'dev-ruby/ruby-gnomeprintui/ruby-gnomeprintui-0.14.1.ebuild')
-rw-r--r-- | dev-ruby/ruby-gnomeprintui/ruby-gnomeprintui-0.14.1.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gnomeprintui/ruby-gnomeprintui-0.14.1.ebuild b/dev-ruby/ruby-gnomeprintui/ruby-gnomeprintui-0.14.1.ebuild new file mode 100644 index 000000000000..6f73e9836b0a --- /dev/null +++ b/dev-ruby/ruby-gnomeprintui/ruby-gnomeprintui-0.14.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gnomeprintui/ruby-gnomeprintui-0.14.1.ebuild,v 1.1 2005/11/15 11:07:05 citizen428 Exp $ + +inherit ruby ruby-gnome2 + +DESCRIPTION="Ruby bindings for gnomeprintui" +KEYWORDS="~x86" +IUSE="" +USE_RUBY="ruby18 ruby19" +DEPEND=">=gnome-base/libgnomeprintui-2.8" +RDEPEND="${DEPEND} + >=dev-ruby/ruby-gnomeprint-${PV} + >=dev-ruby/ruby-gtk2-${PV}" + +# Needed to generate rblibgnomeprintversion.h +src_compile() { + cd ${WORKDIR}/ruby-gnome2-all-${PV}/gnomeprint + ruby extconf.rb || die "ruby-libgnomeprint's extconf.rb failed" + + cd ${WORKDIR}/ruby-gnome2-all-${PV}/gnomeprintui + ruby extconf.rb || die "ruby-libgnomeprintui's extconf.rb failed" + emake CC=${CC:-gcc} CXX=${CXX:-g++} || die "emake failed" +} |