wok-next diff udev/receipt @ rev 73
Modified 'gawk' receipt (pre_install)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 27 21:29:35 2007 +0100 (2007-12-27) |
parents | |
children | cdac43c3f44f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/udev/receipt Thu Dec 27 21:29:35 2007 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="udev" 1.7 +VERSION="116" 1.8 +CATEGORY="base-apps" 1.9 +SHORT_DESC="Udev creat automaticly right devices in /dev." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 1.13 +WGET_URL="http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + make 1.20 +} 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + mkdir -p $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/etc/udev 1.26 + 1.27 + # /sbin 1.28 + cp -a $src/udevd $fs/sbin 1.29 + cp -a $src/udevcontrol $fs/sbin 1.30 + cp -a $src/udevstart $fs/sbin 1.31 + cp -a $src/udevsettle $fs/sbin 1.32 + 1.33 + # /usr/{sbin,bin} 1.34 + cp -a $src/udevd $fs/usr/sbin 1.35 + cp -a $src/udevmonitor $fs/usr/sbin 1.36 + cp -a $src/udevinfo $fs/usr/bin 1.37 + cp -a $src/udevtest $fs/usr/bin 1.38 + 1.39 + # Config files. 1.40 + cp stuff/udev.conf $fs/etc/udev 1.41 + cp -a $src/etc/udev/rules.d $fs/etc/udev 1.42 + cp stuff/90-permissions.rules $fs/etc/udev/rules.d 1.43 + cp -a $src/etc/udev/packages/40-alsa.rules $fs/etc/udev/rules.d 1.44 + 1.45 + 1.46 + # Strip all binaries. 1.47 + strip -s $fs/sbin/* 1.48 + strip -s $fs/usr/bin/* 1.49 + strip -s $fs/usr/sbin/* 1.50 +} 1.51 +