blob: a628509d88dff3dee0a1cb32a184977558fb3d91 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bonobo-python/bonobo-python-0.2.0-r3.ebuild,v 1.5 2003/06/22 12:15:59 liquidx Exp $
IUSE=""
S=${WORKDIR}/${P}
DESCRIPTION="Bonobo bindings for Python"
SRC_URI="http://bonobo-python.lajnux.nu/download/${P}.tar.gz"
HOMEPAGE="http://bonobo-python.lajnux.nu/"
DEPEND="=x11-libs/gtk+-1.2*
>=gnome-base/bonobo-1.0.9
<dev-python/gnome-python-1.99
=dev-python/orbit-python-0.3*
virtual/python"
SLOT="0"
KEYWORDS="x86 sparc alpha"
LICENSE="GPL-2"
src_unpack() {
unpack ${A}
# fix configure time sandbox problem
cd ${S}
mv configure configure.bad
sed -e "s:import gnome.config ; gnome.config.sync::" configure.bad > configure
chmod +x configure
}
src_compile() {
PYTHON="/usr/bin/python" econf \
--with-libIDL-prefix=/usr --with-orbit-prefix=/usr \
--with-oaf-prefix=/usr || die
make || die
}
src_install() {
# check if nautilus 1 was found
grep "#pysite_PYTHON" ${S}/nautilus/Makefile >& /dev/null && \
( \
mv ${S}/nautilus/Makefile ${S}/nautilus/Makefile.orig; \
sed s/'install-data-am: install-pysitePYTHON'/'install-data-am:'/ ${S}/nautilus/Makefile.orig > ${S}/nautilus/Makefile; \
)
einstall || die
dodoc AUTHORS COPYING ChangeLog NEWS README TODO
}
|