wok-current rev 10368

udev: yet another fix (needconfigure option at first and fix pci.ids path)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 03:27:32 2011 +0200 (2011-05-23)
parents 9519b6baf698
children 0e41236ef5cf
files udev/receipt
line diff
     1.1 --- a/udev/receipt	Sun May 22 20:31:50 2011 +0000
     1.2 +++ b/udev/receipt	Mon May 23 03:27:32 2011 +0200
     1.3 @@ -17,21 +17,18 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	gzip -d -c /usr/share/misc/pci.ids.gz > /usr/share/pci.ids
     1.8  	cd $src
     1.9  	grep -qs 'define u8' extras/*_id/*.c ||
    1.10  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.11  		extras/scsi_id/scsi_serial.c extras/ata_id/ata_id.c
    1.12 -	./configure \
    1.13 +	./configure $CONFIGURE_ARGS \
    1.14  		--prefix=/usr \
    1.15  		--exec-prefix="" \
    1.16  		--sysconfdir=/etc \
    1.17  		--libexecdir=/lib/udev \
    1.18 -		--with-rootlibdir=/lib \ 
    1.19 -		$CONFIGURE_ARGS &&
    1.20 -	make &&
    1.21 -	make install &&
    1.22 -	rm /usr/share/pci.ids
    1.23 +		--with-rootlibdir=/lib \
    1.24 +		--with-pci-ids-path=/usr/share/misc/pci.ids.gz &&
    1.25 +	make && make install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.