summaryrefslogtreecommitdiff
blob: 3d1fd98900339cb5ebfe400979de2c6adf9abe9c (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/coldplug/coldplug-20040920-r1.ebuild,v 1.1 2006/05/19 23:43:38 gregkh Exp $

inherit eutils

# source maintainers named it hotplug-YYYY_MM_DD instead of hotplug-YYYYMMDD
#MY_P=hotplug-${PV:0:4}_${PV:4:2}_${PV:6:2}
#S=${WORKDIR}/${MY_P}
DESCRIPTION="coldplug init.d program to load modules at bootime"
HOMEPAGE="http://linux-hotplug.sourceforge.net"
#SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${MY_P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86"
IUSE=""

# hotplug needs pcimodules utility provided by pcitutils-2.1.9-r1
DEPEND=">=sys-apps/hotplug-20040920"
# conflicts with udev now.
RDEPEND="!>=sys-fs/udev-089"

src_install() {
	exeinto /etc/init.d
	newexe ${FILESDIR}/coldplug.rc coldplug
}