From 42addf3d2e2ebf66f1e95a0745792f85064a0350 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 21:11:46 +0100 Subject: Recette de udev mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- udev/Pkgfile | 51 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 20 deletions(-) (limited to 'udev/Pkgfile') diff --git a/udev/Pkgfile b/udev/Pkgfile index 11a5faf..47f63a8 100644 --- a/udev/Pkgfile +++ b/udev/Pkgfile @@ -1,29 +1,40 @@ -description="Userspace device management daemon" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Userspace device management daemon." +packager="CRUX System Team " +maintainer="Lukc " url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" depends=() name=udev version=164 release=2 -source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-164.tar.bz2 start_udev) +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; - mv $PKG/usr/lib/libudev.so.* $PKG/lib; - ln -sf ../../lib/$(readlink $PKG/usr/lib/libudev.so) $PKG/usr/lib/libudev.so; - 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; - install -m 0755 $SRC/start_udev $PKG/sbin; - mkdir -p $PKG/usr/bin; - ln -s /sbin/udevadm $PKG/usr/bin/udevinfo; - rm -rf $PKG/usr/share/{gtk-,}doc + cd udev-$version; + ./configure \ + --prefix=$prefix \ + --exec-prefix= \ + --sysconfdir=$sysconfdir \ + --libdir=$libdir \ + --libexecdir=/lib/udev \ + --mandir=$mandir \ + --disable-extras \ + --disable-introspection; + make; + make install DESTDIR=$PKG pkgconfigdir=$libdir/pkgconfig; + mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}}; + mkdir -p $PKG/lib; + mv $PKG$libdir/libudev.so.* $PKG/lib; + ln -sf ../../lib/$(readlink $PKG$libdir/libudev.so) $PKG$libdir/libudev.so; + 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; + install -m 0755 $SRC/start_udev $PKG/sbin; + mkdir -p $PKG$prefix/bin; + ln -s /sbin/udevadm $PKG/usr/bin/udevinfo; + rm -rf $PKG$prefix/share/{gtk-,}doc } -- cgit v1.2.3-70-g09d2