blob: f1c44c53f37336e6b3c3bdf845f5e1c2752396f8 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# Copyright 2004-2011 Sabayon
# Distributed under the terms of the GNU General Public License v2
inherit eutils
DESCRIPTION="Sabayon Live tools for autoconfiguration of the system"
HOMEPAGE="http://www.sabayon.org"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="!app-misc/livecd-tools
app-admin/eselect-opengl
dev-util/dialog
sys-apps/gawk
sys-apps/pciutils
>=sys-apps/keyboard-configuration-helpers-2.6"
src_unpack() {
cd "${WORKDIR}"
cp "${FILESDIR}"/${PV}/*-functions.sh . -p
cp "${FILESDIR}"/${PV}/net-setup . -p
cp "${FILESDIR}"/${PV}/x-setup-init.d . -p
cp "${FILESDIR}"/${PV}/installer-gui . -p
cp "${FILESDIR}"/${PV}/installer-text . -p
cp "${FILESDIR}"/${PV}/x-setup-configuration . -p
cp "${FILESDIR}"/${PV}/bashlogin . -p
cp "${FILESDIR}"/${PV}/opengl-activator . -p
cp "${FILESDIR}"/${PV}/sabayonlive . -p
cp "${FILESDIR}"/${PV}/vga-cmd-parser . -p
cp "${FILESDIR}"/${PV}/logscript.sh . -p
cp "${FILESDIR}"/${PV}/sabutil . -p
cp "${FILESDIR}"/${PV}/livespawn . -p
cp "${FILESDIR}"/${PV}/sabayon-live-check . -p
cp "${FILESDIR}"/${PV}/sabayon-welcome-loader* . -p
cp "${FILESDIR}"/${PV}/cdeject . -p
}
src_install() {
cd "${WORKDIR}"
dosbin x-setup-configuration
newinitd x-setup-init.d x-setup
dosbin net-setup
into /
dosbin *-functions.sh
dosbin logscript.sh
dobin bashlogin
dobin vga-cmd-parser
exeinto /usr/bin
doexe opengl-activator
doexe livespawn
doexe sabutil
doexe sabayon-live-check
doexe sabayon-welcome-loader
dodir /etc/sabayon
insinto /etc/sabayon
doins sabayon-welcome-loader.desktop
#insinto /etc/X11
#doins xorg.conf.sabayon
dodir /usr/share/X11/xorg.conf.d
insinto /usr/share/X11/xorg.conf.d
doins "${FILESDIR}/${PV}/xorg.conf.d/"*
newinitd sabayonlive sabayonlive
newinitd installer-gui installer-gui
newinitd installer-text installer-text
newinitd cdeject cdeject
}
|