Merge openembedded@openembedded.bkbits.net:packages
[vuplus_openembedded] / udev / udev_003.oe
1 DEPENDS = "virtual/libc"
2 DESCRIPTION = "udev is a program which dynamically creates and removes device nodes from \
3 /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."
4
5 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
6            file://${FILESDIR}/install.patch;patch=1 \
7            file://${FILESDIR}/partsegfault.patch;patch=1 \
8            file://${FILESDIR}/compile.patch;patch=1"
9
10 bindir = "/bin"
11 sbindir = "/sbin"
12 libdir = "/lib"
13 EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
14                 'exec_prefix=${prefix}' \
15                 'etcdir=${sysconfdir}' \
16                 'sbindir=${sbindir}' \
17                 'mandir=${mandir}' \
18                 'hotplugdir=${sysconfdir}/hotplug.d/default' \
19                 'configdir=${sysconfdir}/udev/'"
20
21 do_install () {
22         oe_runmake 'DESTDIR=${D}' install
23 }