wok diff linux-wimax/receipt @ rev 8014

add garcon, agrcon-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 20 02:06:45 2011 +0100 (2011-01-20)
parents 5355ffc461cf
children 03d4663c81fa
line diff
     1.1 --- a/linux-wimax/receipt	Fri Nov 05 15:48:33 2010 +0000
     1.2 +++ b/linux-wimax/receipt	Thu Jan 20 02:06:45 2011 +0100
     1.3 @@ -8,7 +8,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 @@ -24,6 +23,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.