blob: b53e93a397e8011a68efc7c26d705c7fea21f152 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/config-kernel/config-kernel-0.3.3.ebuild,v 1.5 2004/06/24 22:55:53 agriffis Exp $
inherit distutils
S=${WORKDIR}/${P}
DESCRIPTION="Kernel environment configuration tool"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="http://dev.gentoo.org/~latexer/files/koutput/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
DEPEND=">=sys-apps/sed-4"
RDEPEND="virtual/python"
KEYWORDS="x86 amd64 ia64 ppc ppc64 sparc hppa mips alpha"
IUSE=""
src_unpack() {
unpack ${A}
sed -i -e 's:^KBUILD_OUTPUT_PREFIX=.*:KBUILD_OUTPUT_PREFIX="":' ${S}/05kernel
}
src_install() {
distutils_src_install
dobin ${S}/config-kernel
doman ${S}/config-kernel.1
dodoc ChangeLog
if [ ! -e /etc/env.d/05kernel ]
then
insinto /etc/env.d
doins 05kernel
fi
}
|