wok-next diff linux-cifs/receipt @ rev 19583

Up: cookutils, tazpkg, aufs, kmod, lguest, linux, linux64.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 02 07:42:47 2017 +0200 (2017-01-02)
parents 9e01bc6321ea
children 960a052d15d3
line diff
     1.1 --- a/linux-cifs/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/linux-cifs/receipt	Mon Jan 02 07:42:47 2017 +0200
     1.3 @@ -1,41 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-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 +WEB_SITE="https://www.kernel.org/"
    1.15 +CONFIG_FILES="/etc/filesystems"
    1.16 +
    1.17 +WANTED="linux"
    1.18  DEPENDS="linux"
    1.19 -WANTED="linux"
    1.20 -WEB_SITE="http://www.kernel.org/"
    1.21 -CONFIG_FILES="/etc/filesystems"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -    local path
    1.27 -    path=lib/modules/$VERSION-slitaz/kernel
    1.28 -    mkdir -p $fs/$path $fs/etc
    1.29 -    export src install
    1.30 -    $wanted_stuff/list_modules.sh fs/cifs | while read module; do
    1.31 -    	dir=$path/$(dirname $module)
    1.32 -    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.33 -        cp -a $install/$path/$module $fs/$dir
    1.34 -    done
    1.35 -    touch $fs/etc/filesystems
    1.36 +	. $wanted_stuff/copy_modules.sh
    1.37 +	copy_modules fs/cifs
    1.38  }
    1.39 -
    1.40 -# Post install/remove commands for Tazpkg.
    1.41 -post_install()
    1.42 -{
    1.43 -	grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
    1.44 -		echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
    1.45 -	chroot "$1/" depmod -a $VERSION-slitaz
    1.46 -}
    1.47 -
    1.48 -post_remove()
    1.49 -{
    1.50 -	sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
    1.51 -	chroot "$1/" depmod -a $VERSION-slitaz
    1.52 -}