wok-current rev 1261
udev: use now GNU configure
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Aug 13 21:47:07 2008 +0200 (2008-08-13) |
parents | c261333596f2 |
children | c94697c63d0e |
files | udev-dev/receipt udev/receipt |
line diff
1.1 --- a/udev-dev/receipt Wed Aug 13 19:20:53 2008 +0200 1.2 +++ b/udev-dev/receipt Wed Aug 13 21:47:07 2008 +0200 1.3 @@ -16,8 +16,6 @@ 1.4 # Extra 1.5 cp -a $src/extras/volume_id/lib/libvolume_id.a \ 1.6 $fs/lib 1.7 - cp -a $src/extras/volume_id/lib/libvolume_id.pc \ 1.8 - $fs/usr/lib/pkgconfig 1.9 - cp -a $src/extras/volume_id/lib/libvolume_id.h \ 1.10 - $fs/usr/include 1.11 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/ 1.12 + cp -a $_pkg/usr/include $fs/usr 1.13 }
2.1 --- a/udev/receipt Wed Aug 13 19:20:53 2008 +0200 2.2 +++ b/udev/receipt Wed Aug 13 21:47:07 2008 +0200 2.3 @@ -13,6 +13,11 @@ 2.4 compile_rules() 2.5 { 2.6 cd $src 2.7 + ./configure \ 2.8 + --prefix=/usr \ 2.9 + --sbindir=/sbin \ 2.10 + --sysconfdir=/etc \ 2.11 + --libdir=/lib 2.12 make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \ 2.13 extras/ata_id extras/usb_id extras/cdrom_id" 2.14 } 2.15 @@ -20,30 +25,15 @@ 2.16 # Rules to gen a SliTaz package suitable for Tazpkg. 2.17 genpkg_rules() 2.18 { 2.19 - mkdir -p $fs/sbin $fs/etc/udev $fs/lib/udev $fs/lib/firmware 2.20 + mkdir -p $fs/lib/firmware $fs/etc/udev/rules.d 2.21 2.22 - # /sbin 2.23 - cp -a $src/udevd $fs/sbin 2.24 - cp -a $src/udevadm $fs/sbin 2.25 + cp -a $_pkg/sbin $fs 2.26 + cp -a $_pkg/etc $fs 2.27 + cp -a $_pkg/lib $fs 2.28 2.29 # Config files. 2.30 cp stuff/udev.conf $fs/etc/udev 2.31 cp -a $src/etc/udev/rules.d $fs/etc/udev 2.32 cp stuff/90-permissions.rules $fs/etc/udev/rules.d 2.33 - cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d 2.34 - 2.35 - # Extra 2.36 - cp -a $src/extras/firmware/firmware.sh $fs/lib/udev 2.37 - cp -a $src/extras/volume_id/vol_id $fs/lib/udev 2.38 - cp -a $src/extras/volume_id/lib/*.so* $fs/lib 2.39 - #cp -a $src/extras/cdrom_id/cdrom_id $fs/lib/udev 2.40 - #cp -a $src/extras/ata_id/ata_id $fs/lib/udev 2.41 - #cp -a $src/extras/scsi_id/scsi_id $fs/lib/udev 2.42 - #cp -a $src/extras/usb_id/usb_id $fs/lib/udev 2.43 + cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d 2.44 } 2.45 - 2.46 -clean_wok() 2.47 -{ 2.48 - rm -f device_* 2.49 - rm -f whitespace_* 2.50 -}