1 # Description: Userspace device management daemon
2 # URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
9 source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.bz2 \
10 $name-disable_extras.patch start_udev)
15 patch -p1 -i $SRC/$name-disable_extras.patch
18 ./configure --build=$CHOST \
23 --with-rootlibdir=/lib \
24 --libexecdir=/lib/udev \
27 --disable-introspection \
31 make install DESTDIR=$PKG
33 mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}}
37 mknod -m 600 $PKG/lib/udev/devices/console c 5 1
38 mknod -m 600 $PKG/lib/udev/devices/kmsg c 1 11
39 mknod -m 666 $PKG/lib/udev/devices/null c 1 3
40 mknod -m 666 $PKG/lib/udev/devices/zero c 1 5
43 install -m 0755 $SRC/start_udev $PKG/sbin
45 # Keep udevinfo for legacy support
47 ln -s /sbin/udevadm $PKG/usr/bin/udevinfo
50 rm -rf $PKG/usr/share/{gtk-,}doc