wok rev 1270

udev: fix files path change
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 18 13:42:38 2008 +0200 (2008-08-18)
parents c3027d83478d
children eed4f3fbcb61
files udev/receipt
line diff
     1.1 --- a/udev/receipt	Mon Aug 18 11:36:08 2008 +0000
     1.2 +++ b/udev/receipt	Mon Aug 18 13:42:38 2008 +0200
     1.3 @@ -15,11 +15,12 @@
     1.4  	cd $src
     1.5  	./configure \
     1.6  		--prefix=/usr \
     1.7 -		--sbindir=/sbin \
     1.8 +		--exec-prefix="" \
     1.9  		--sysconfdir=/etc \
    1.10 -		--libdir=/lib
    1.11 +		$CONFIGURE_ARGS
    1.12  	make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \
    1.13  		extras/ata_id extras/usb_id extras/cdrom_id"
    1.14 +	make DESTDIR=$PWD/_pkg install
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 @@ -31,9 +32,9 @@
    1.19  	cp -a $_pkg/etc $fs
    1.20  	cp -a $_pkg/lib $fs
    1.21  
    1.22 -	# Config files.
    1.23 +	# Default config files in /lib/udev/rules.d and custom on in
    1.24 +	# /etc/udev/rules.d.
    1.25  	cp stuff/udev.conf $fs/etc/udev
    1.26 -	cp -a $src/etc/udev/rules.d $fs/etc/udev
    1.27  	cp stuff/90-permissions.rules $fs/etc/udev/rules.d
    1.28  	cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
    1.29  }