wok-stable view udev/receipt @ rev 1776
claws-mail: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 17:29:27 2008 +0000 (2008-11-28) |
parents | 4eb4da12babc |
children | 691d6ea4280b |
line source
1 # SliTaz package receipt.
3 PACKAGE="udev"
4 VERSION="128"
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 --exec-prefix="" \
19 --sysconfdir=/etc \
20 --enable-static \
21 $CONFIGURE_ARGS &&
22 make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \
23 extras/ata_id extras/usb_id extras/cdrom_id" &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/lib/firmware $fs/etc/udev/rules.d
32 cp -a $_pkg/sbin $fs
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/lib $fs
36 # Default config files in /lib/udev/rules.d and custom on in
37 # /etc/udev/rules.d.
38 cp stuff/udev.conf $fs/etc/udev
39 cp stuff/90-permissions.rules $fs/etc/udev/rules.d
40 cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
41 }