summaryrefslogtreecommitdiff
path: root/hotplug/hotplug_20040311.oe
blob: f8f92aaf0a2fdb1d82a097972be07c786b416f3b (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
DESCRIPTION = "This package contains the scripts necessary \
for hotplug Linux support, and lets you plug in new devices \
and use them immediately."
SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_03_11.tar.gz"
S = "${WORKDIR}/hotplug-2004_03_11"

do_compile () {
	:
}

oldmandir := "${mandir}"
oldsbindir := "${sbindir}"
prefix = ""
exec_prefix = ""
FILES_hotplug_append = " ${oldsbindir}"
FILES_hotplug-doc_append = " ${oldmandir}"

export DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'"
do_install () {
	install -d ${D}/${sysconfdir}/logcheck/ignore.d \
		   ${D}/${oldmandir} ${D}/${oldsbindir}
	oe_runmake prefix=${D}${prefix} exec_prefix=${D}${exec_prefix} \
		   etcdir=${D}${sysconfdir} sbindir=${D}${sbindir} \
		   mandir=${D}${oldmandir} install
	sh ${FILESDIR}/fix-net.agent ${D}
	install -m 0755 ${FILESDIR}/update-usb.usermap ${D}/${oldsbindir}/
	install -m 0644 ${FILESDIR}/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug
}