wok-6.x view udev/receipt @ rev 761
Up: slitaz-tools (2.2) with desktopbox and improved netbox
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 09 17:57:15 2008 +0200 (2008-05-09) |
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 }