blob: 11918ebf4a86681707b0277e910920a19e080719 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eclectic/eclectic-0.9.3.ebuild,v 1.3 2005/05/17 16:29:09 ciaranm Exp $
inherit bash-completion
DESCRIPTION="Modular -config replacement utility"
HOMEPAGE="http://eclectic.berlios.de/"
SRC_URI="http://download.berlios.de/eclectic/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
RESTRICT="primaryuri"
RDEPEND=">=app-shells/bash-3
doc? ( dev-python/docutils )"
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
if use doc ; then
cd doc ; make html || die "failed to build html"
fi
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc README doc/*.txt
use doc && dohtml doc/*
dobashcompletion misc/eclectic.bashcomp
}
|