wok-next view udev/receipt @ rev 807

Pixmaps fix (listpatron, ctorrent)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 16 01:43:48 2008 +0200 (2008-05-16)
parents a98ae02c2022
children 7852a7209fe4
line source
1 # SliTaz package receipt.
3 PACKAGE="udev"
4 VERSION="121"
5 CATEGORY="base-system"
6 SHORT_DESC="Udev creat automaticly right devices in /dev."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
10 WGET_URL="http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \
17 extras/ata_id extras/usb_id extras/cdrom_id"
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/sbin $fs/etc/udev $fs/lib/udev $fs/lib/firmware
25 # /sbin
26 cp -a $src/udevd $fs/sbin
27 cp -a $src/udevadm $fs/sbin
29 # Config files.
30 cp stuff/udev.conf $fs/etc/udev
31 cp -a $src/etc/udev/rules.d $fs/etc/udev
32 cp stuff/90-permissions.rules $fs/etc/udev/rules.d
33 cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d
35 # Extra
36 cp -a $src/extras/firmware/firmware.sh $fs/lib/udev
37 cp -a $src/extras/volume_id/vol_id $fs/lib/udev
38 cp -a $src/extras/volume_id/lib/*.so* $fs/lib
39 #cp -a $src/extras/cdrom_id/cdrom_id $fs/lib/udev
40 #cp -a $src/extras/ata_id/ata_id $fs/lib/udev
41 #cp -a $src/extras/scsi_id/scsi_id $fs/lib/udev
42 #cp -a $src/extras/usb_id/usb_id $fs/lib/udev
43 }
45 clean_wok()
46 {
47 rm -f device_*
48 rm -f whitespace_*
49 }