summaryrefslogtreecommitdiffstats
path: root/test/gudev/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-07-04 15:45:27 +0200
committertnut <thierryn1 at hispeed dot ch>2010-07-04 15:45:27 +0200
commitb5a8af14b4a004d263ca0040c7a051fa282e4be0 (patch)
tree57dd1db18097053c572f688e898d7686ede4dad3 /test/gudev/Pkgfile
parent1eaec3cc5012444b85c66daa2cf2d44421394f7f (diff)
downloadnutyx-pakxe-b5a8af14b4a004d263ca0040c7a051fa282e4be0.tar.gz
nutyx-pakxe-b5a8af14b4a004d263ca0040c7a051fa282e4be0.tar.bz2
nutyx-pakxe-b5a8af14b4a004d263ca0040c7a051fa282e4be0.tar.xz
nutyx-pakxe-b5a8af14b4a004d263ca0040c7a051fa282e4be0.zip
gudev dans test
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}
+}