wok-6.x diff zaptel/receipt @ rev 1814
Up: ntfs-3g to 1.5130
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Dec 05 15:01:28 2008 +0100 (2008-12-05) |
parents | 0d30d3d18dcb |
children | bd6010223726 |
line diff
1.1 --- a/zaptel/receipt Fri Oct 03 16:09:39 2008 +0000 1.2 +++ b/zaptel/receipt Fri Dec 05 15:01:28 2008 +0100 1.3 @@ -19,6 +19,7 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 + mkdir -p $fs/etc/udev/rules.d 1.8 get_version 1.9 [ -d taz/$PACKAGE-$WANTED/fs ] && \ 1.10 mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 1.11 @@ -32,6 +33,12 @@ 1.12 eval cp -a "$_pkg$file" $fs$dir 1.13 done < $_pkg/../$PACKAGE.files-list 1.14 rm -f $fs/lib/modules/*/modules.* 1.15 + src=$(dirname $_pkg) 1.16 + cp $src/zaptel/build_tools/genudevrules $fs 1.17 + sed -i 's/^ver/ver=99 # ver/' $fs/genudevrules 1.18 + $fs/genudevrules | sed 's/asterisk/root/g' > $fs/etc/udev/rules.d/zaptel.rules 1.19 + rm -f $fs/genudevrules 1.20 + 1.21 } 1.22 1.23 # Post install/remove commands for Tazpkg.