wok-next diff linux64-cifs/receipt @ rev 19718

Up tty-clock (2.3) (thanks Pascal to pointing me right direction :)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 23 14:40:37 2017 +0300 (2017-05-23)
parents 9e01bc6321ea
children
line diff
     1.1 --- a/linux64-cifs/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/linux64-cifs/receipt	Tue May 23 14:40:37 2017 +0300
     1.3 @@ -1,45 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux64-cifs"
     1.7 -VERSION="3.2.71"
     1.8 +VERSION="4.9.0"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="The Linux kernel cifs module."
    1.11 +SHORT_DESC="The Linux Kernel CIFS module"
    1.12  MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -DEPENDS="linux64"
    1.15 -WANTED="linux"
    1.16 -PROVIDE="linux-cifs:linux64"
    1.17  WEB_SITE="http://www.kernel.org/"
    1.18  CONFIG_FILES="/etc/filesystems"
    1.19 +PROVIDE="linux-cifs:linux64"
    1.20 +
    1.21 +WANTED="linux"
    1.22 +DEPENDS="linux64"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -    local path
    1.28 -    src=$WOK/linux64/source/tmp
    1.29 -    install=$install/linux64
    1.30 -    path=lib/modules/$VERSION-slitaz64/kernel
    1.31 -    mkdir -p $fs/$path $fs/etc
    1.32 -    export src
    1.33 -    export install
    1.34 -    $wanted_stuff/list_modules.sh fs/cifs | while read module; do
    1.35 -    	dir=$path/$(dirname $module)
    1.36 -    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.37 -        cp -a $install/$path/$module $fs/$dir
    1.38 -    done
    1.39 -    touch $fs/etc/filesystems
    1.40 +	. $wanted_stuff/copy_modules.sh
    1.41 +	copy_modules fs/cifs
    1.42  }
    1.43 -
    1.44 -# Post install/remove commands for Tazpkg.
    1.45 -post_install()
    1.46 -{
    1.47 -	grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
    1.48 -		echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
    1.49 -	chroot "$1/" depmod -a $VERSION-slitaz64
    1.50 -}
    1.51 -
    1.52 -post_remove()
    1.53 -{
    1.54 -	sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
    1.55 -	chroot "$1/" depmod -a $VERSION-slitaz64
    1.56 -}