summaryrefslogtreecommitdiff
path: root/app-misc/livecd-tools/livecd-tools-2.1.ebuild
blob: ddea6131d66211b6c76a38078656c75e7b17ca11 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils

SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"

DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"

SLOT="0"
LICENSE="GPL-2"
IUSE="systemd"

RDEPEND="dev-util/dialog
	net-dialup/mingetty
	>=sys-apps/baselayout-2
	sys-apps/gentoo-functions
	sys-apps/systemd
	sys-apps/pciutils
	sys-apps/gawk
	sys-apps/sed"

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_prepare() {
	epatch ""${FILESDIR}"/"${PN}"-systemd.patch"
}

src_install() {
	dosbin net-setup
	into /
	dosbin livecd-functions.sh
}