wok-stable rev 3782
Update: udev (for v. 143)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 30 15:05:08 2009 +0000 (2009-07-30) |
parents | 7fe791e8b986 |
children | 59feb32d3c4f |
files | udev-dev/receipt udev/receipt |
line diff
1.1 --- a/udev-dev/receipt Thu Jul 30 13:25:19 2009 +0000 1.2 +++ b/udev-dev/receipt Thu Jul 30 15:05:08 2009 +0000 1.3 @@ -11,8 +11,9 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/lib 1.8 - cp -a $_pkg/usr/lib/*.a $fs/usr/lib 1.9 - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.10 + mkdir -p $fs/lib $fs/usr/lib/pkgconfig 1.11 + cp -a $_pkg/lib/*.a $fs/lib 1.12 + cp -a $_pkg/lib/pkgconfig/* $fs/usr/lib/pkgconfig 1.13 + cp -a $_pkg/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig 1.14 cp -a $_pkg/usr/include $fs/usr 1.15 }
2.1 --- a/udev/receipt Thu Jul 30 13:25:19 2009 +0000 2.2 +++ b/udev/receipt Thu Jul 30 15:05:08 2009 +0000 2.3 @@ -5,8 +5,9 @@ 2.4 BUILD_WARNING="Install new udev package and rebuild hal" 2.5 CATEGORY="base-system" 2.6 SHORT_DESC="Udev creat automaticly right devices in /dev." 2.7 -DEPENDS="util-linux-ng-blkid glib" 2.8 -BUILD_DEPENDS="$DEPENDS util-linux-ng-blkid-dev gperf pkg-config glib-dev" 2.9 +DEPENDS="glibc-base util-linux-ng-blkid glib acl attr libusb libusb-compat" 2.10 +BUILD_DEPENDS="$DEPENDS util-linux-ng-blkid-dev gperf pkg-config glib-dev \ 2.11 +libusb-dev usbutils-dev pciutils" 2.12 MAINTAINER="pankso@slitaz.org" 2.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 2.15 @@ -30,14 +31,18 @@ 2.16 genpkg_rules() 2.17 { 2.18 mkdir -p $fs/lib/firmware $fs/etc/udev $fs/usr/lib 2.19 - for dir in sbin etc lib 2.20 + for dir in sbin etc lib libexec 2.21 do 2.22 cp -a $_pkg/$dir $fs 2.23 done 2.24 ln -s /lib/libudev.so.0.3.0 $fs/usr/lib/libudev.so 2.25 2.26 + # Remove -dev files 2.27 + rm -rf $fs/lib/*.*a 2.28 + rm -rf $fs/lib/pkgconfig 2.29 + 2.30 # Copy rules files to udev conf dir 2.31 - mv $fs/lib/udev/rules.d $fs/etc/udev 2.32 + mv $fs/libexec/rules.d $fs/etc/udev 2.33 cp stuff/udev.conf $fs/etc/udev 2.34 cp stuff/90-permissions.rules $fs/etc/udev/rules.d 2.35 cp $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d