blob: bdf416136bac757b3ed448feb2542d648465feed (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils
DESCRIPTION="Glentoo LiveCD tools for autoconfiguration of hardware and automatically booting Xorg."
HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"
SRC_URI="https://github.com/downloads/robertseaton/glentoo-tools/glentoo-tools-0.1.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
#KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="opengl X"
OPENGL_DEPEND="virtual/opengl
x11-misc/mkxf86config
app-admin/eselect-opengl"
RDEPEND="dev-util/dialog
sys-apps/pciutils
sys-apps/gawk
sys-apps/sed
alpha? ( opengl? ( ${OPENGL_DEPEND} )
X? ( >=x11-misc/mkxf86config-0.9.7 ) )
amd64? ( opengl? ( ${OPENGL_DEPEND} )
X? ( >=x11-misc/mkxf86config-0.9.2 ) )
x86? ( opengl? ( ${OPENGL_DEPEND} )
X? ( x11-misc/mkxf86config ) )
ppc? ( opengl? ( ${OPENGL_DEPEND} )
X? ( >=x11-misc/mkxf86config-0.9.7 ) )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-ttyB0.patch
}
pkg_setup() {
ewarn "This package is designed for use on the LiveCD only and will do"
ewarn "unspeakably horrible and unexpected things on a normal system."
ewarn "YOU HAVE BEEN WARNED!!!"
}
src_install() {
doinitd autoconfig
newinitd spind.init spind
if use x86 || use amd64 || use ppc
then
if use opengl
then
dosbin x-setup openglify
newinitd x-setup.init x-setup
fi
fi
dosbin net-setup spind
into /
dobin bashlogin
dosbin livecd-functions.sh
}
|