wok view udev/receipt @ rev 769

Add tcc (Tiny C Compiler)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 11 11:36:09 2008 +0000 (2008-05-11)
parents b38af32fe556
children a98ae02c2022
line source
1 # SliTaz package receipt.
3 PACKAGE="udev"
4 VERSION="120"
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
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/sbin $fs/etc/udev $fs/lib/udev $fs/lib/firmware
24 # /sbin
25 cp -a $src/udevd $fs/sbin
26 cp -a $src/udevadm $fs/sbin
28 # Config files.
29 cp stuff/udev.conf $fs/etc/udev
30 cp -a $src/etc/udev/rules.d $fs/etc/udev
31 cp -a $src/extras/firmware/firmware.sh $fs/lib/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
34 }
36 clean_wok()
37 {
38 rm device_*
39 rm whitespace_*
40 }