wok view udev/receipt @ rev 1381

Up: udev 126 to 128
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Sep 15 03:09:26 2008 +0200 (2008-09-15)
parents 2d67cf259f9e
children d6295d7937b2
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 $CONFIGURE_ARGS
21 make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \
22 extras/ata_id extras/usb_id extras/cdrom_id"
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/lib/firmware $fs/etc/udev/rules.d
31 cp -a $_pkg/sbin $fs
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/lib $fs
35 # Default config files in /lib/udev/rules.d and custom on in
36 # /etc/udev/rules.d.
37 cp stuff/udev.conf $fs/etc/udev
38 cp stuff/90-permissions.rules $fs/etc/udev/rules.d
39 cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
40 }