# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.8.2.ebuild,v 1.4 2003/10/08 10:33:30 liquidx Exp $ inherit distutils MY_P="Pyrex-${PV}" S=${WORKDIR}/${MY_P} DESCRIPTION="a language for writing Python extension modules" HOMEPAGE="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex" SRC_URI="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86" DEPEND="virtual/python" src_install() { mydoc="CHANGES.txt INSTALL.txt README.txt USAGE.txt" distutils_src_install dodir /usr/share/doc/${PF}/Demos cp -r ${S}/Demos ${D}/usr/share/doc/${PF} dohtml -r Doc/* cp ${S}/Doc/primes.c ${D}usr/share/doc/${PF}/html/ }