summaryrefslogtreecommitdiff
blob: 6b1f05561512d4cc75a2de07e411f5b9475c067b (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
31
32
33
34
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/qtruby-3.5.9.ebuild,v 1.6 2009/02/24 16:21:57 jmbsvicetto Exp $

KMNAME=kdebindings
KMCOPYLIB="libsmokeqt smoke/qt"
KM_MAKEFILESREV=1
EAPI="1"

inherit kde-meta

DESCRIPTION="Ruby bindings for QT"
HOMEPAGE="http://techbase.kde.org/Development/Languages/Ruby"
KEYWORDS="amd64 ~ppc ppc64 sparc x86"
IUSE=""

DEPEND="
	dev-ruby/rubygems
	>=kde-base/smoke-${PV}:${SLOT}
	>=virtual/ruby-1.8"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/no-gtk-glib-check.diff" )

# Because this installs into /usr/lib/ruby/..., it doesn't have SLOT=X.Y like the rest of KDE,
# and it installs into /usr entirely.
# Note that it still depends on a specific range of (slotted) smoke versions.
SLOT="0"

src_compile() {
	kde_src_compile myconf
	myconf="$myconf --prefix=/usr"
	kde_src_compile configure make
}