diff options
author | sibelle <lesibel at gmail dot com> | 2010-11-20 20:16:13 +0100 |
---|---|---|
committer | sibelle <lesibel at gmail dot com> | 2010-11-20 20:16:13 +0100 |
commit | fbe6c8bdae26849b5ed5f46951668106c03114aa (patch) | |
tree | 034f737a811d0abe8e975a781413f30051aa896e | |
parent | 46f74fb23a0b5bce0d0122408a2b631d691184e9 (diff) | |
download | nutyx-pakxe-fbe6c8bdae26849b5ed5f46951668106c03114aa.tar.gz nutyx-pakxe-fbe6c8bdae26849b5ed5f46951668106c03114aa.tar.bz2 nutyx-pakxe-fbe6c8bdae26849b5ed5f46951668106c03114aa.tar.xz nutyx-pakxe-fbe6c8bdae26849b5ed5f46951668106c03114aa.zip |
udev, ajout du check de glib
-rw-r--r-- | base/udev/Pkgfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/base/udev/Pkgfile b/base/udev/Pkgfile index bcab91016..9b9cebffb 100644 --- a/base/udev/Pkgfile +++ b/base/udev/Pkgfile @@ -11,7 +11,11 @@ _lfs_release=20100128 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() { - +if ( pkginfo -i|grep "^glib " > /dev/null) then + EXTRA="--with-pci-ids-path=/usr/share/pci.ids.gz" +else + EXTRA="--disable-extras --disable-introspection" +fi cd udev-$version install -dv $PKG/lib/{firmware,udev/devices/{pts,shm}} @@ -26,7 +30,7 @@ ln -s /proc/kcore $PKG/lib/udev/devices/core --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 + $EXTRA make |