wok-6.x annotate 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 |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="udev" |
pankso@608 | 4 VERSION="120" |
pankso@210 | 5 CATEGORY="base-system" |
pankso@5 | 6 SHORT_DESC="Udev creat automaticly right devices in /dev." |
pankso@5 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@5 | 9 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" |
pankso@5 | 10 WGET_URL="http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL" |
pankso@5 | 11 |
pankso@5 | 12 # Rules to configure and make the package. |
pankso@5 | 13 compile_rules() |
pankso@5 | 14 { |
pankso@5 | 15 cd $src |
pankso@5 | 16 make |
pankso@5 | 17 } |
pankso@5 | 18 |
pankso@5 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 20 genpkg_rules() |
pankso@5 | 21 { |
pankso@608 | 22 mkdir -p $fs/sbin $fs/etc/udev |
pankso@5 | 23 |
pankso@5 | 24 # /sbin |
pankso@5 | 25 cp -a $src/udevd $fs/sbin |
pankso@608 | 26 cp -a $src/udevadm $fs/sbin |
pankso@5 | 27 |
pankso@5 | 28 # Config files. |
pankso@5 | 29 cp stuff/udev.conf $fs/etc/udev |
pankso@5 | 30 cp -a $src/etc/udev/rules.d $fs/etc/udev |
pankso@5 | 31 cp stuff/90-permissions.rules $fs/etc/udev/rules.d |
pankso@5 | 32 cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d |
pankso@5 | 33 } |
pankso@5 | 34 |
pankso@608 | 35 clean_wok() |
pankso@608 | 36 { |
pankso@608 | 37 rm device_* |
pankso@608 | 38 rm whitespace_* |
pankso@608 | 39 } |