wok diff linux-sound/receipt @ rev 2886

pekwm: add custom keys, start and improve menu
author Rohit Joshi <jozee@slitaz.org>
date Mon May 04 12:27:31 2009 +0000 (2009-05-04)
parents 998d2b306f24
children f306d126580e
line diff
     1.1 --- a/linux-sound/receipt	Wed Apr 09 17:18:31 2008 +0000
     1.2 +++ b/linux-sound/receipt	Mon May 04 12:27:31 2009 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-sound"
     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 sound modules."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -14,18 +14,24 @@
    1.13      local path
    1.14      path=lib/modules/$VERSION-slitaz/kernel
    1.15      mkdir -p $fs/$path
    1.16 -    ( cd $_pkg/$path ; tar cf - sound ) | ( cd $fs/$path ; tar xf - )
    1.17 +    export src
    1.18 +    export _pkg
    1.19 +    $src/list_modules.sh sound | 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
    1.24  
    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