blob: 3dea1c5e43af7804e2affc18b0283607e5352f05 (
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-util/devel-chroots/devel-chroots-2.0.0.ebuild,v 1.1 2006/12/17 16:12:35 pappy Exp $
DESCRIPTION="Gentoo Developer chroots installation/configuration"
HOMEPAGE="http://dev.gentoo.org/~pappy/projects/Gentoo/devel-chroots"
SRC_URI="http://user.noxa.de/~pappy/mirror/gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE="minimal"
RDEPEND="app-misc/screen"
src_install() {
doconfd "${S}/etc/conf.d/${PN}"
doinitd "${S}/etc/init.d/${PN}"
local target="install"
use minimal && target="minimal"
emake ${target} DESTDIR="${D}" || die "emake ${target} failed"
}
pkg_postinst() {
if use minimal
then
elog "You need to provide your own config files and change"
elog "the location of the chroot configuration directory"
elog "in the /etc/conf.d/devel-chroots configuration file."
fi
}
|