wok-next diff linux-toshiba/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 08cf996a2307
children cccf3f5a91f2
line diff
     1.1 --- a/linux-toshiba/receipt	Mon Aug 17 11:03:13 2015 +0200
     1.2 +++ b/linux-toshiba/receipt	Mon Jan 02 07:42:47 2017 +0200
     1.3 @@ -1,38 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-toshiba"
     1.7 -VERSION="3.2.71"
     1.8 +VERSION="4.9.0"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="The Linux kernel toshiba module."
    1.11 +SHORT_DESC="The Linux Kernel Toshiba module"
    1.12  MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.kernel.org/"
    1.15 +
    1.16  DEPENDS="linux"
    1.17  WANTED="linux"
    1.18 -WEB_SITE="http://www.kernel.org/"
    1.19 -
    1.20 -# Modules paths and list
    1.21 -MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
    1.22 -MODULES="drivers/char/toshiba.ko.xz"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p ${fs}/${MOD_PATH}
    1.28 -	for module in $MODULES
    1.29 -	do
    1.30 -		dir=$MOD_PATH/$(dirname $module)
    1.31 -		[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.32 -		cp -a $install/$MOD_PATH/$module $fs/$dir
    1.33 -	done
    1.34 +	. $wanted_stuff/copy_modules.sh
    1.35 +	copy_modules drivers/char/toshiba.ko.xz
    1.36  }
    1.37 -
    1.38 -# Post install/remove commands for Tazpkg.
    1.39 -post_install()
    1.40 -{
    1.41 -	chroot "$root/" depmod -a $VERSION-slitaz
    1.42 -}
    1.43 -
    1.44 -post_remove()
    1.45 -{
    1.46 -	chroot "$root/" depmod -a $VERSION-slitaz
    1.47 -}