18
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
|
3 |
# $Header: $ |
|
4 |
|
|
5 |
DESCRIPTION="An tool to create 32 and/or 64bits chrooted Gentoo" |
|
6 |
HOMEPAGE="http://tuna.lyua.org/chenvr/" |
|
7 |
SRC_URI="http://tuna.lyua.org/downloads/${P}.tar.bz2" |
|
8 |
|
|
9 |
LICENSE="GPL-3" |
|
10 |
SLOT="0" |
|
11 |
KEYWORDS="~x86 ~amd64" |
|
12 |
IUSE="doc" |
|
13 |
|
|
14 |
DEPEND="" |
|
15 |
|
|
16 |
src_install() { |
|
17 |
cd "${WORKDIR}/${PN}" |
|
18 |
|
|
19 |
mkdir -p ${D}usr/bin |
|
20 |
install chenvr ${D}usr/bin/ || die "installing chenvr script" |
|
21 |
|
|
22 |
mkdir -p ${D}etc |
|
23 |
install config/chenvr.conf ${D}etc/ || die "installing chenvr configuration" |
|
24 |
|
|
25 |
if use doc; then |
|
26 |
doinfo doc/chenvr.info |
|
27 |
fi |
|
28 |
} |