wok-4.x view udev/receipt @ rev 608

Up: udev (120) - Admin centralised in udevadm
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:41:52 2008 +0200 (2008-04-18)
parents dbd9d5cecd6b
children bc579f419add
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
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 stuff/90-permissions.rules $fs/etc/udev/rules.d
32 cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d
33 }
35 clean_wok()
36 {
37 rm device_*
38 rm whitespace_*
39 }