summaryrefslogtreecommitdiff
blob: acbc353c92286001e36feda1c2c814e1212200e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2010 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.19.4.ebuild,v 1.5 2010/10/20 21:54:39 ranger Exp $

EAPI="2"
USE_RUBY="ruby18"

inherit ruby-ng-gnome2

DESCRIPTION="Ruby bindings for gnomeprintui"
KEYWORDS="amd64 ~ia64 ppc sparc x86"
IUSE=""

RDEPEND="${RDEPEND}
	>=gnome-base/libgnomeprintui-2.8"
DEPEND="${DEPEND}
	>=gnome-base/libgnomeprintui-2.8
	dev-util/pkgconfig"

ruby_add_rdepend ">=dev-ruby/ruby-gnomeprint-${PV}
	>=dev-ruby/ruby-gtk2-${PV}"

# Needed to generate rblibgnomeprintversion.h
each_ruby_configure() {
	pushd ../gnomeprint
	ruby extconf.rb || die "ruby-libgnomeprint's extconf.rb failed"

	popd
	ruby extconf.rb || die "ruby-libgnomeprintui's extconf.rb failed"
}