summaryrefslogtreecommitdiff
blob: bd052da0b7c4225e0e076981dbb0aa99b475a08f (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
30
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/tpg-3.0.5.ebuild,v 1.1 2005/04/25 17:22:50 carlo Exp $

inherit distutils

MY_P="TPG-${PV}"
S=${WORKDIR}/${MY_P}

DESCRIPTION="Toy Parser Generator for Python"
HOMEPAGE="http://christophe.delord.free.fr/en/tpg/"
SRC_URI="http://christophe.delord.free.fr/soft/tpg/${MY_P}.tar.gz"

SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~x86 ~ppc"
IUSE="doc"

DEPEND="virtual/python"

DOCS="License.txt THANKS"

src_install() {
	distutils_src_install
	if use doc ; then
		dohtml doc/*
		insinto /usr/share/doc/${PF}/examples
		doins examples/*
	fi
}