Merges.
[vuplus_openembedded] / hotplug / hotplug_20040105.oe
1 DESCRIPTION = "This package contains the scripts necessary \
2 for hotplug Linux support, and lets you plug in new devices \
3 and use them immediately."
4 SRC_URI = "${SOURCEFORGE_MIRROR}/linux-hotplug/hotplug-2004_01_05.tar.gz \
5            file://busybox.patch;patch=1"
6 S = "${WORKDIR}/hotplug-2004_01_05"
7
8 do_compile () {
9         oenote "Nothing to compile."
10 }
11
12 DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'"
13 do_install () {
14         install -d ${D}/sbin ${D}/${sysconfdir}/hotplug \
15                    ${D}/${sysconfdir}/logcheck/ignore.d \
16                    ${D}/${sbindir}
17         oe_runmake prefix=${D} install
18         sh debian/fix-net.agent ${D}
19         install -m 0755 debian/update-usb.usermap ${D}/${sbindir}/
20         install -m 0644 debian/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug
21 }