# Copyright 1999-2004 Gentoo Foundation # 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.9 2004/06/25 01:26:26 agriffis Exp $ IUSE="" 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 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 }