summaryrefslogtreecommitdiff
blob: 1f8e3b58149829f8fab67166ecea4a3dabffd9a5 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-2.1.ebuild,v 1.2 2004/02/06 18:18:27 iggy Exp $

BUSYBOX="busybox-1.00-pre3"
CLOOP="cloop_1.02-1"

DESCRIPTION="Gentoo autokernel script"
HOMEPAGE="http://www.gentoo.org"
SRC_URI="http://dev.gentoo.org/~livewire/distfiles/${P}.tar.bz2
		 http://dev.gentoo.org/~livewire/distfiles/${BUSYBOX}.tar.bz2
		 http://dev.gentoo.org/~zhen/distfiles/${CLOOP}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-*"
IUSE=""

DEPEND=""

src_unpack() {
	unpack ${P}.tar.bz2
}

src_install() {
	insinto /etc/kernels
	doins files/settings files/default-config-*

	exeinto /usr/sbin
	doexe genkernel

	#Put general files in /usr/share/genkernel for FHS compliance
	insinto /usr/share/genkernel
	doins src/linuxrc files/key.lst src/1024.initrd files/livecdrc \
		${DISTDIR}/${BUSYBOX}.tar.bz2 ${DISTDIR}/${CLOOP}.tar.gz

	dodoc README
	dodoc ChangeLog
}