# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit python eutils KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64" DESCRIPTION="Python FUSE bindings" HOMEPAGE="http://fuse.sourceforge.net/wiki/index.php/FusePython" SRC_URI="http://the-gay-bar.com/distfiles/fuse-python-20060912.tar.bz2" LICENSE="GPL-2" SLOT="0" IUSE="" RDEPEND=">=dev-lang/python-2.3 >=sys-fs/fuse-2.0" src_unpack() { unpack ${A} cd ${WORKDIR}/python } src_compile() { cd ${WORKDIR}/python python setup.py build || die "Building fuse-python failed." } src_install() { einfo "install to ${D}/usr" cd ${WORKDIR}/python python setup.py install --prefix=${D}/usr || die "Installing fuse-python failed" }