# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 inherit distutils S=${WORKDIR}/${P} DESCRIPTION="python binding for curl/libcurl" SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz" HOMEPAGE="http://pycurl.sourceforge.net" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 sparc" DEPEND=">=dev-lang/python-2.1.1 >=net-ftp/curl-7.10.2" src_compile() { distutils_src_compile } src_install(){ distutils_src_install mv ${D}/usr/share/doc/pycurl/* ${D}/usr/share/doc/${P} rmdir ${D}/usr/share/doc/pycurl rm ${D}/usr/share/doc/${P}/COPYING rm ${D}/usr/share/doc/${P}/ChangeLog rm ${D}/usr/share/doc/${P}/README }