blob: 6142cf3ffca2064729ddc9172b4afcbdf2f8e624 (
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
31
32
33
34
35
36
37
38
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/4suite-1.0_beta3.ebuild,v 1.3 2006/07/16 12:02:33 liquidx Exp $
inherit distutils eutils
MY_PV=${PV/_beta/b}
S=${WORKDIR}/4Suite-${MY_PV}
DESCRIPTION="Python tools for XML processing and object-databases."
SRC_URI="ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-${MY_PV}.tar.gz"
HOMEPAGE="http://www.4suite.org/"
DEPEND=">=dev-lang/python-2.3
>=dev-python/pyxml-0.8.4"
IUSE="doc"
SLOT="0"
KEYWORDS="~alpha ~amd64 ia64 ~ppc ~sparc x86"
LICENSE="Apache-1.1"
PYTHON_MODNAME="Ft"
DOCS="docs/*.txt"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/1.0_b3-add_root_opt.diff
python setup.py config --prefix=/usr --docdir=/usr/share/doc/${P}
}
src_install() {
if use doc; then
distutils_src_install --with-docs
else
distutils_src_install
fi
}
|