blob: 55c3d9e47ecb9a37291447b5f6b13b783d9a3724 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
DESCRIPTION="Dracut is a new initramfs infrastructure."
HOMEPAGE="http://apps.sourceforge.net/trac/dracut/wiki"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="app-arch/cpio
sys-fs/udev
sys-apps/util-linux
sys-devel/binutils
sys-apps/coreutils
sys-apps/module-init-tools
sys-apps/findutils
sys-apps/grep
sys-apps/openrc
"
#src_prepare() {
#run sed which adds CFLAGS to make file
#}
src_install() {
#pkglibdir=/usr/libexec/dracut
emake install DESTDIR="${D}" sbindir=/sbin sysconfdir=/etc \
|| die "emake install failed"
}
|