summaryrefslogtreecommitdiff
path: root/udev/udev_003.oe
blob: 1c802b0f02423a33310be76d420bfdf36a230474 (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
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
DESCRIPTION = "udev is a program which dynamically creates and removes device nodes from \
/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."

SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
	   file://${FILESDIR}/install.patch;patch=1 \
	   file://${FILESDIR}/partsegfault.patch;patch=1 \
	   file://${FILESDIR}/compile.patch;patch=1"

bindir = "/bin"
sbindir = "/sbin"
libdir = "/lib"
EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
		'exec_prefix=${prefix}' \
		'etcdir=${sysconfdir}' \
		'sbindir=${sbindir}' \
		'mandir=${mandir}' \
		'hotplugdir=${sysconfdir}/hotplug.d/default' \
		'configdir=${sysconfdir}/udev/'"

do_install () {
	oe_runmake 'DESTDIR=${D}' install
}