wok-next diff zaptel/receipt @ rev 1908
tazndis: add symlink to ndiswrapper
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 21 15:49:01 2008 +0100 (2008-12-21) |
parents | 0d30d3d18dcb |
children | bd6010223726 |
line diff
1.1 --- a/zaptel/receipt Fri Oct 03 16:09:39 2008 +0000 1.2 +++ b/zaptel/receipt Sun Dec 21 15:49:01 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.