wok-current view udev/receipt @ rev 1263
Fix: Set executable mode to xft-config.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Aug 15 09:10:28 2008 +0200 (2008-08-15) |
parents | c261333596f2 |
children | 2d67cf259f9e |
line source
1 # SliTaz package receipt.
3 PACKAGE="udev"
4 VERSION="126"
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 ./configure \
17 --prefix=/usr \
18 --sbindir=/sbin \
19 --sysconfdir=/etc \
20 --libdir=/lib
21 make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \
22 extras/ata_id extras/usb_id extras/cdrom_id"
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/lib/firmware $fs/etc/udev/rules.d
30 cp -a $_pkg/sbin $fs
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/lib $fs
34 # Config files.
35 cp stuff/udev.conf $fs/etc/udev
36 cp -a $src/etc/udev/rules.d $fs/etc/udev
37 cp stuff/90-permissions.rules $fs/etc/udev/rules.d
38 cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
39 }