summaryrefslogtreecommitdiff
blob: 31d9c591e04d4d271639cef0fc54bad8533ca885 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.0.1.ebuild,v 1.6 2005/01/29 05:32:17 wolf31o2 Exp $

IUSE=""

DESCRIPTION="Gentoo autokernel script"
HOMEPAGE="http://www.gentoo.org"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 x86 ~sparc ~hppa ~alpha ppc"

DEPEND="amd64? ( media-gfx/bootsplash )
	x86? ( media-gfx/bootsplash )"

src_install() {
	dodir /etc
	cp ${S}/genkernel.conf ${D}/etc

	dodir /usr/bin
	cp ${S}/genkernel ${D}/usr/bin

	dodir /usr/share/genkernel
	cp -Rpv ${S}/* ${D}/usr/share/genkernel

	rm -f ${D}/usr/share/genkernel/genkernel.conf
	rm -f ${D}/usr/share/genkernel/genkernel
}