diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /udev/Pkgfile.old | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'udev/Pkgfile.old')
-rw-r--r-- | udev/Pkgfile.old | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/udev/Pkgfile.old b/udev/Pkgfile.old new file mode 100644 index 0000000..6ae0cc0 --- /dev/null +++ b/udev/Pkgfile.old @@ -0,0 +1,48 @@ +# Description: Userspace device management daemon +# URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=udev +version=164 +release=2 +source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.bz2 \ + start_udev) + +build() { + cd udev-$version + + ./configure --prefix=/usr \ + --exec-prefix= \ + --sysconfdir=/etc \ + --libdir=/usr/lib \ + --libexecdir=/lib/udev \ + --mandir=/usr/man \ + --disable-extras \ + --disable-introspection + + make + make install DESTDIR=$PKG pkgconfigdir=/usr/lib/pkgconfig + + mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}} + mkdir -p $PKG/lib + + # Fix location of libaries + mv $PKG/usr/lib/libudev.so.* $PKG/lib + ln -sf ../../lib/$(readlink $PKG/usr/lib/libudev.so) $PKG/usr/lib/libudev.so + + # Populate nodes + mknod -m 600 $PKG/lib/udev/devices/console c 5 1 + mknod -m 600 $PKG/lib/udev/devices/kmsg c 1 11 + mknod -m 666 $PKG/lib/udev/devices/null c 1 3 + mknod -m 666 $PKG/lib/udev/devices/zero c 1 5 + + # Add CRUX items + install -m 0755 $SRC/start_udev $PKG/sbin + + # Keep udevinfo for legacy support + mkdir -p $PKG/usr/bin + ln -s /sbin/udevadm $PKG/usr/bin/udevinfo + + # Remove junk + rm -rf $PKG/usr/share/{gtk-,}doc +} |