summaryrefslogtreecommitdiff
blob: 5b10e9829acfa00cc6e71fee66ba112ecd75b031 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.4.5.ebuild,v 1.3 2003/06/21 22:30:25 drobbins Exp $

MY_P="Pyrex-${PV}"
S=${WORKDIR}/${MY_P}
DESCRIPTION="a language for writing Python extension modules."
SRC_URI="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/${MY_P}.tar.gz"
HOMEPAGE="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex"
LICENSE="as-is"

DEPEND="virtual/python"
RDEPEND=""
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""

src_compile() {
	python setup.py build || die
}

src_install () {
	python setup.py install --root=${D} --prefix=/usr || die
	dodoc CHANGES.txt INSTALL.txt README.txt USAGE.txt 
	dodir ${D}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/
}