wok diff linux-appletalk/receipt @ rev 8008

Fix: ffmpeg need coreutils-file-special to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Jan 18 23:36:57 2011 +0100 (2011-01-18)
parents 5355ffc461cf
children 03d4663c81fa
line diff
     1.1 --- a/linux-appletalk/receipt	Fri Nov 05 15:48:33 2010 +0000
     1.2 +++ b/linux-appletalk/receipt	Tue Jan 18 23:36:57 2011 +0100
     1.3 @@ -9,7 +9,6 @@
     1.4  WANTED="linux"
     1.5  WEB_SITE="http://www.kernel.org/"
     1.6  
     1.7 -
     1.8  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.9  genpkg_rules()
    1.10  {
    1.11 @@ -26,6 +25,12 @@
    1.12      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.13          cp -a $_pkg/$path/$module $fs/$dir
    1.14      done
    1.15 +
    1.16 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    1.17 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    1.18 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    1.19 +	fi
    1.20 +    done
    1.21  }
    1.22  
    1.23  # Post install/remove commands for Tazpkg.