Lines 2-10
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbeagle/libbeagle-0.3.9.ebuild,v 1.3 2009/04/04 14:51:54 maekke Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbeagle/libbeagle-0.3.9.ebuild,v 1.3 2009/04/04 14:51:54 maekke Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI="3" |
|
|
6 |
PYTHON_DEPEND="2" |
7 |
#PYTHON_USE_WITH="xml" |
6 |
|
8 |
|
7 |
inherit gnome.org |
9 |
inherit python gnome.org |
8 |
|
10 |
|
9 |
DESCRIPTION="C and Python bindings for Beagle" |
11 |
DESCRIPTION="C and Python bindings for Beagle" |
10 |
HOMEPAGE="http://beagle-project.org/" |
12 |
HOMEPAGE="http://beagle-project.org/" |
Lines 16-28
Link Here
|
16 |
|
18 |
|
17 |
RDEPEND=">=dev-libs/glib-2.6 |
19 |
RDEPEND=">=dev-libs/glib-2.6 |
18 |
>=dev-libs/libxml2-2.6.19 |
20 |
>=dev-libs/libxml2-2.6.19 |
19 |
python? ( >=dev-lang/python-2.3 |
21 |
python? ( >=dev-python/pygtk-2.6 ) |
20 |
>=dev-python/pygtk-2.6 ) |
|
|
21 |
!<=app-misc/beagle-0.2.18" |
22 |
!<=app-misc/beagle-0.2.18" |
22 |
DEPEND="${RDEPEND} |
23 |
DEPEND="${RDEPEND} |
23 |
doc? ( dev-util/gtk-doc )" |
24 |
doc? ( dev-util/gtk-doc )" |
24 |
|
25 |
|
25 |
src_compile() { |
26 |
pkg_setup() { |
|
|
27 |
if use python; then |
28 |
python_pkg_setup |
29 |
python_set_active_version 2 |
30 |
fi |
31 |
|
32 |
src_configure() { |
26 |
econf --disable-dependency-tracking \ |
33 |
econf --disable-dependency-tracking \ |
27 |
$(use_enable python) \ |
34 |
$(use_enable python) \ |
28 |
$(use_enable doc gtk-doc) \ |
35 |
$(use_enable doc gtk-doc) \ |
Lines 34-38
Link Here
|
34 |
} |
40 |
} |
35 |
|
41 |
|
36 |
src_install() { |
42 |
src_install() { |
37 |
emake DESTDIR="${D}" install || die "Install failed!" |
43 |
emake DESTDIR="${ED}" install || die "Install failed!" |
|
|
44 |
python_convert_shebangs -r 2 "${ED}" |
38 |
} |
45 |
} |