wok view udev/receipt @ rev 1883

aufs-module: fix WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 17 14:47:20 2008 +0000 (2008-12-17)
parents d6295d7937b2
children d0baa10a73d6
line source
1 # SliTaz package receipt.
3 PACKAGE="udev"
4 VERSION="135"
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
35 for i in libudev.so libvolume_id.so; do
36 [ -f $fs/lib/$i ] || ( cd $fs/lib ; ln -s $i.*.* $i)
37 done
39 # Default config files in /lib/udev/rules.d and custom on in
40 # /etc/udev/rules.d.
41 cp stuff/udev.conf $fs/etc/udev
42 cp stuff/90-permissions.rules $fs/etc/udev/rules.d
43 cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d
44 }