summaryrefslogtreecommitdiffstats
path: root/base/udev/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:17:29 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:17:29 +0200
commit51ff7c5b9e20a961dbe3820c90c33669e72ff974 (patch)
tree5b30c1d9fec5091a93816f3c8b17301625c9cde9 /base/udev/Pkgfile
parent51e0964993a1e784c4343de2634f811131d115c6 (diff)
downloadnutyx-pakxe-51ff7c5b9e20a961dbe3820c90c33669e72ff974.tar.gz
nutyx-pakxe-51ff7c5b9e20a961dbe3820c90c33669e72ff974.tar.bz2
nutyx-pakxe-51ff7c5b9e20a961dbe3820c90c33669e72ff974.tar.xz
nutyx-pakxe-51ff7c5b9e20a961dbe3820c90c33669e72ff974.zip
Ajout de udev#145-1
Diffstat (limited to 'base/udev/Pkgfile')
-rw-r--r--base/udev/Pkgfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/base/udev/Pkgfile b/base/udev/Pkgfile
new file mode 100644
index 000000000..029303cca
--- /dev/null
+++ b/base/udev/Pkgfile
@@ -0,0 +1,39 @@
+# Description: Démon pour la gestion du matériel dans l'espace utilisateur
+# URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: texinfo
+
+name=udev
+version=145
+release=1
+_lfs_release=20090523
+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
+./configure --prefix=/usr \
+ --sysconfdir=/etc --sbindir=/sbin \
+ --with-rootlibdir=/lib --libexecdir=/lib/udev \
+ --disable-extras
+make
+make install DESTDIR=$PKG mandir="/usr/share/man"
+install -m644 -v rules/packages/64-*.rules \
+ $PKG/lib/udev/rules.d/
+install -m644 -v rules/packages/40-pilot-links.rules \
+ $PKG/lib/udev/rules.d/
+install -m644 -v rules/packages/40-isdn.rules \
+ $PKG/lib/udev/rules.d/
+
+cd ../udev-config-${_lfs_release}
+make DESTDIR=$PKG install
+make DESTDIR=$PKG install-doc
+}
+