wok-next diff udev/receipt @ rev 8321
Up: tazpkg 4.2.4, tazwok 0.0.5.2
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 01 21:00:10 2011 +0100 (2011-02-01) |
parents | cb5a362e61d5 |
children | 6a0b5f79f102 |
line diff
1.1 --- a/udev/receipt Mon Jan 03 20:56:23 2011 +0100 1.2 +++ b/udev/receipt Tue Feb 01 21:00:10 2011 +0100 1.3 @@ -6,7 +6,8 @@ 1.4 CATEGORY="base-system" 1.5 SHORT_DESC="Udev creat automaticly right devices in /dev." 1.6 DEPENDS="glibc-base util-linux-ng-blkid" 1.7 -BUILD_DEPENDS="$DEPENDS util-linux-ng-blkid-dev gperf pkg-config pciutils" 1.8 +BUILD_DEPENDS="$DEPENDS util-linux-ng-blkid-dev gperf pkg-config pciutils \ 1.9 +acl-dev libgio-dev libgio gobject-introspection usbutils usbutils-dev" 1.10 MAINTAINER="pankso@slitaz.org" 1.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 1.13 @@ -15,7 +16,7 @@ 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 { 1.17 - gzip -d /usr/share/misc/pci.ids.gz 1.18 + gzip -d -c /usr/share/misc/pci.ids.gz > /usr/share/pci.ids 1.19 cd $src 1.20 grep -qs 'define u8' extras/*_id/*.c || 1.21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ 1.22 @@ -26,28 +27,22 @@ 1.23 --sysconfdir=/etc \ 1.24 --libexecdir=/lib/udev \ 1.25 --with-rootlibdir=/lib \ 1.26 - --enable-static \ 1.27 - --disable-extras \ 1.28 - --disable-introspection \ 1.29 $CONFIGURE_ARGS && 1.30 make && 1.31 make DESTDIR=$PWD/_pkg install && 1.32 - gzip /usr/share/misc/pci.ids 1.33 + rm /usr/share/pci.ids 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 - mkdir -p $fs/lib/firmware $fs/etc/udev $fs/usr \ 1.40 - $fs/dev/.udev 1.41 - for dir in sbin etc lib 1.42 - do 1.43 - cp -a $_pkg/$dir $fs 1.44 - done 1.45 + mkdir -p $fs/lib/firmware $fs/usr $fs/dev/.udev 1.46 1.47 - # Remove -dev files 1.48 - rm -rf $fs/lib/*.*a 1.49 - rm -rf $fs/lib/pkgconfig 1.50 + cp -a $_pkg/sbin $fs 1.51 + cp -a $_pkg/etc $fs 1.52 + cp -a $_pkg/lib/libudev*so* $fs/lib 1.53 + cp -a $_pkg/lib/udev $fs/lib 1.54 + cp -a $_pkg/usr/lib $fs/usr 1.55 1.56 # Copy rules files to udev conf dir 1.57 mv -f $fs/lib/udev/rules.d $fs/etc/udev