summaryrefslogtreecommitdiffstats
path: root/base/udev/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-29 22:07:22 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-29 22:07:22 +0100
commit14f6e463ba9133420a2675e2e1db957eab471cec (patch)
tree3ae66c1a898c7d735d63b8e155e63da541308218 /base/udev/Pkgfile
parent0c2106ef0077bafd00fe29953f0dee82bf8602ba (diff)
downloadnutyx-extra-14f6e463ba9133420a2675e2e1db957eab471cec.tar.gz
nutyx-extra-14f6e463ba9133420a2675e2e1db957eab471cec.tar.bz2
nutyx-extra-14f6e463ba9133420a2675e2e1db957eab471cec.tar.xz
nutyx-extra-14f6e463ba9133420a2675e2e1db957eab471cec.zip
Maj udev#151-2
Diffstat (limited to 'base/udev/Pkgfile')
-rw-r--r--base/udev/Pkgfile12
1 files changed, 9 insertions, 3 deletions
diff --git a/base/udev/Pkgfile b/base/udev/Pkgfile
index 409db0427..acd1f6932 100644
--- a/base/udev/Pkgfile
+++ b/base/udev/Pkgfile
@@ -2,29 +2,35 @@
# URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=udev
version=151
-release=1
-_lfs_release=20090925
+release=2
+_lfs_release=20100126
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.bz2 \
http://www.linuxfromscratch.org/lfs/downloads/development/udev-config-${_lfs_release}.tar.bz2)
build() {
cd udev-$version
+
install -dv $PKG/lib/{firmware,udev/devices/{pts,shm}}
ln -s /proc/self/fd $PKG/lib/udev/devices/fd
ln -s /proc/self/fd/0 $PKG/lib/udev/devices/stdin
ln -s /proc/self/fd/1 $PKG/lib/udev/devices/stdout
ln -s /proc/self/fd/2 $PKG/lib/udev/devices/stderr
ln -s /proc/kcore $PKG/lib/udev/devices/core
+
+sed -e 's/0640/0660/' extras/floppy/60-floppy.rules
+
+
./configure --prefix=/usr \
--sysconfdir=/etc --sbindir=/sbin \
--with-rootlibdir=/lib --libexecdir=/lib/udev \
--docdir=/usr/share/doc/udev-$version \
--disable-extras --disable-introspection
+
make
+
make install DESTDIR=$PKG mandir="/usr/share/man"
install -m644 -v rules/packages/64-*.rules \
$PKG/lib/udev/rules.d/