blob: 2f619ae7738a900b0ff399cc966dad7411ef604a (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings/kdebindings-2.2.1-r1.ebuild,v 1.4 2001/10/07 11:11:08 azarah Exp $
. /usr/portage/eclass/inherit.eclass || die
inherit kde-dist || die
DESCRIPTION="${DESCRIPTION}Bindings"
NEWDEPEND=">=kde-base/kdebase-${PV}
>=x11-libs/gtk+-1.2.10-r4
sys-devel/perl
python? ( dev-lang/python )
java? ( dev-lang/jdk )"
DEPEND="$DEPEND $NEWDEPEND"
RDEPEND="$RDEPEND $NEWDEPEND"
src_compile() {
kde_src_compile myconf
use python || myconf="$myconf --without-python"
use java && myconf="$myconf --with-java=/opt/java" || myconf="$myconf --without-java"
kde_src_compile configure
LIBPYTHON=\"`python-config`\" make || die
}
|