summaryrefslogtreecommitdiffstats
path: root/test/gudev/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/gudev/Pkgfile')
-rw-r--r--test/gudev/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/gudev/Pkgfile b/test/gudev/Pkgfile
new file mode 100644
index 000000000..c679082ac
--- /dev/null
+++ b/test/gudev/Pkgfile
@@ -0,0 +1,35 @@
+# 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: glib, usbutils, gobject-introspection, gperf, acl, pciutils
+
+name=gudev
+version=158
+release=1
+_lfs_release=20100128
+source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-$version.tar.bz2)
+build() {
+
+cd udev-$version
+
+install -dv $PKG/lib/{firmware,udev/devices/{pts,shm}}
+
+./configure --prefix=/usr \
+ --sysconfdir=/etc --sbindir=/sbin \
+ --with-rootlibdir=/lib --libexecdir=/lib/udev \
+ --docdir=/usr/share/doc/udev-$version \
+ --with-pci-ids-path=/usr/share/pci.ids.gz
+
+make
+
+make install DESTDIR=$PKG mandir="/usr/share/man"
+
+# Remove allready included in udev
+rm -r $PKG/{lib/udev/rules.d,sbin,etc}
+rm -r $PKG/usr/share/man
+rm $PKG/usr/{lib,include}/libudev.*
+rm $PKG/usr/lib/pkgconfig/libudev.pc
+rm $PKG/usr/share/pkgconfig/udev.pc
+rm -r $PKG/usr/share/{gtk-doc,doc}
+}