wok-next view udev/receipt @ rev 695
hardinfo: add boot parameters
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 26 10:28:00 2008 +0000 (2008-04-26) |
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 }