wok-stable annotate udev/receipt @ rev 1261
udev: use now GNU configure
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Aug 13 21:47:07 2008 +0200 (2008-08-13) |
parents | c261333596f2 |
children | 2d67cf259f9e |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="udev" |
pankso@1260 | 4 VERSION="126" |
pankso@210 | 5 CATEGORY="base-system" |
pankso@5 | 6 SHORT_DESC="Udev creat automaticly right devices in /dev." |
pankso@5 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@5 | 9 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" |
pankso@5 | 10 WGET_URL="http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL" |
pankso@5 | 11 |
pankso@5 | 12 # Rules to configure and make the package. |
pankso@5 | 13 compile_rules() |
pankso@5 | 14 { |
pankso@5 | 15 cd $src |
pankso@1261 | 16 ./configure \ |
pankso@1261 | 17 --prefix=/usr \ |
pankso@1261 | 18 --sbindir=/sbin \ |
pankso@1261 | 19 --sysconfdir=/etc \ |
pankso@1261 | 20 --libdir=/lib |
pankso@789 | 21 make EXTRAS="extras/firmware extras/scsi_id extras/volume_id \ |
pankso@789 | 22 extras/ata_id extras/usb_id extras/cdrom_id" |
pankso@5 | 23 } |
pankso@5 | 24 |
pankso@5 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 26 genpkg_rules() |
pankso@5 | 27 { |
pankso@1261 | 28 mkdir -p $fs/lib/firmware $fs/etc/udev/rules.d |
pankso@789 | 29 |
pankso@1261 | 30 cp -a $_pkg/sbin $fs |
pankso@1261 | 31 cp -a $_pkg/etc $fs |
pankso@1261 | 32 cp -a $_pkg/lib $fs |
pankso@789 | 33 |
pankso@5 | 34 # Config files. |
pankso@5 | 35 cp stuff/udev.conf $fs/etc/udev |
pankso@5 | 36 cp -a $src/etc/udev/rules.d $fs/etc/udev |
pankso@5 | 37 cp stuff/90-permissions.rules $fs/etc/udev/rules.d |
pankso@1261 | 38 cp -a $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d |
pankso@5 | 39 } |