wok-4.x diff linux-reiserfs/receipt @ rev 1217

Add: subversion and deps from Lars-Eri, Helander.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Aug 10 07:42:07 2008 +0200 (2008-08-10)
parents 998d2b306f24
children 532538d67b1c
line diff
     1.1 --- a/linux-reiserfs/receipt	Wed Apr 09 17:18:31 2008 +0000
     1.2 +++ b/linux-reiserfs/receipt	Sun Aug 10 07:42:07 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-reiserfs"
     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 reiserfs module."
    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 fs/reiserfs | 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