wok-next diff linux-ieee1394/receipt @ rev 2895

Up: dillo (rev 1072) and fix receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 05 02:27:31 2009 +0200 (2009-05-05)
parents 998d2b306f24
children f306d126580e
line diff
     1.1 --- a/linux-ieee1394/receipt	Wed Apr 09 17:18:31 2008 +0000
     1.2 +++ b/linux-ieee1394/receipt	Tue May 05 02:27:31 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-ieee1394"
     1.7 -VERSION="2.6.24.2"
     1.8 +VERSION="2.6.25.5"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="The Linux kernel ieee1394 modules."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -14,21 +14,23 @@
    1.13      local path
    1.14      path=lib/modules/$VERSION-slitaz/kernel
    1.15      mkdir -p $fs/$path
    1.16 -    while read module; do
    1.17 +    export src
    1.18 +    export _pkg
    1.19 +    $src/list_modules.sh drivers/ieee1394 | while read module; do
    1.20      	dir=$path/$(dirname $module)
    1.21      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.22          cp -a $_pkg/$path/$module $fs/$dir
    1.23 -    done < stuff/modules-$VERSION.list
    1.24 +    done
    1.25  }
    1.26  
    1.27  # Post install/remove commands for Tazpkg.
    1.28  post_install()
    1.29  {
    1.30 -	depmod -a -b /$1
    1.31 +	depmod -a -b "$1/" $VERSION-slitaz
    1.32  }
    1.33  
    1.34  post_remove()
    1.35  {
    1.36 -	depmod -a
    1.37 +	depmod -a $VERSION-slitaz
    1.38  }
    1.39