wok-next annotate udev/receipt @ rev 122
Chandeg category for dev pkgs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 23:00:53 2008 +0100 (2008-01-05) |
parents | |
children | cdac43c3f44f |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="udev" |
pankso@5 | 4 VERSION="116" |
pankso@5 | 5 CATEGORY="base-apps" |
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@5 | 22 mkdir -p $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/etc/udev |
pankso@5 | 23 |
pankso@5 | 24 # /sbin |
pankso@5 | 25 cp -a $src/udevd $fs/sbin |
pankso@5 | 26 cp -a $src/udevcontrol $fs/sbin |
pankso@5 | 27 cp -a $src/udevstart $fs/sbin |
pankso@5 | 28 cp -a $src/udevsettle $fs/sbin |
pankso@5 | 29 |
pankso@5 | 30 # /usr/{sbin,bin} |
pankso@5 | 31 cp -a $src/udevd $fs/usr/sbin |
pankso@5 | 32 cp -a $src/udevmonitor $fs/usr/sbin |
pankso@5 | 33 cp -a $src/udevinfo $fs/usr/bin |
pankso@5 | 34 cp -a $src/udevtest $fs/usr/bin |
pankso@5 | 35 |
pankso@5 | 36 # Config files. |
pankso@5 | 37 cp stuff/udev.conf $fs/etc/udev |
pankso@5 | 38 cp -a $src/etc/udev/rules.d $fs/etc/udev |
pankso@5 | 39 cp stuff/90-permissions.rules $fs/etc/udev/rules.d |
pankso@5 | 40 cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d |
pankso@5 | 41 |
pankso@5 | 42 |
pankso@5 | 43 # Strip all binaries. |
pankso@5 | 44 strip -s $fs/sbin/* |
pankso@5 | 45 strip -s $fs/usr/bin/* |
pankso@5 | 46 strip -s $fs/usr/sbin/* |
pankso@5 | 47 } |
pankso@5 | 48 |