wok-current view udev/receipt @ rev 366
Add: cromfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 00:40:08 2008 +0100 (2008-03-08) |
parents | cdac43c3f44f |
children | b38af32fe556 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udev"
4 VERSION="116"
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/usr/bin $fs/usr/sbin $fs/etc/udev
24 # /sbin
25 cp -a $src/udevd $fs/sbin
26 cp -a $src/udevcontrol $fs/sbin
27 cp -a $src/udevstart $fs/sbin
28 cp -a $src/udevsettle $fs/sbin
30 # /usr/{sbin,bin}
31 cp -a $src/udevd $fs/usr/sbin
32 cp -a $src/udevmonitor $fs/usr/sbin
33 cp -a $src/udevinfo $fs/usr/bin
34 cp -a $src/udevtest $fs/usr/bin
36 # Config files.
37 cp stuff/udev.conf $fs/etc/udev
38 cp -a $src/etc/udev/rules.d $fs/etc/udev
39 cp stuff/90-permissions.rules $fs/etc/udev/rules.d
40 cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d
43 # Strip all binaries.
44 strip -s $fs/sbin/*
45 strip -s $fs/usr/bin/*
46 strip -s $fs/usr/sbin/*
47 }