wok-next diff linux64-arcnet/receipt @ rev 19600

Up cookutils (869)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 23 11:20:11 2017 +0200 (2017-01-23)
parents 08cf996a2307
children
line diff
     1.1 --- a/linux64-arcnet/receipt	Mon Aug 17 11:03:13 2015 +0200
     1.2 +++ b/linux64-arcnet/receipt	Mon Jan 23 11:20:11 2017 +0200
     1.3 @@ -1,49 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux64-arcnet"
     1.7 -VERSION="3.2.71"
     1.8 +VERSION="4.9.0"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="arcnet kernel modules"
    1.11 +SHORT_DESC="The Linux Kernel ARCnet modules"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://kernel.org/"
    1.15 +PROVIDE="linux-arcnet:linux64"
    1.16 +
    1.17  WANTED="linux"
    1.18 -PROVIDE="linux-arcnet:linux64"
    1.19 -WEB_SITE="http://kernel.org/"
    1.20  DEPENDS="linux64"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -    local path
    1.26 -    src=$WOK/linux64/source/tmp
    1.27 -    install=$install/linux64
    1.28 -    path=lib/modules/$VERSION-slitaz64/kernel
    1.29 -    mkdir -p $fs/$path
    1.30 -    
    1.31 -    export src
    1.32 -    export install
    1.33 -    
    1.34 -    $wanted_stuff/list_modules.sh drivers/net/arcnet drivers/net/arcnet/arcnet.ko.xz \
    1.35 -    drivers/net/arcnet/com90xx.ko.xz drivers/net/arcnet/rfc1051.ko.xz | while read module; do
    1.36 -    	dir=$path/$(dirname $module)
    1.37 -    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.38 -        cp -a $install/$path/$module $fs/$dir
    1.39 -    done
    1.40 -
    1.41 -    for i in $(cat $wanted_stuff/modules.list); do
    1.42 -        if [ -f $fs/$path/$i ]; then
    1.43 -	    rm -f $fs/$path/$i
    1.44 -	fi
    1.45 -    done
    1.46 +	. $wanted_stuff/copy_modules.sh
    1.47 +	copy_modules \
    1.48 +		drivers/net/arcnet \
    1.49 +		drivers/net/arcnet/arcnet.ko.xz \
    1.50 +		drivers/net/arcnet/com90xx.ko.xz \
    1.51 +		drivers/net/arcnet/rfc1051.ko.xz
    1.52  }
    1.53 -
    1.54 -# Post install/remove commands for Tazpkg.
    1.55 -post_install()
    1.56 -{
    1.57 -	chroot "$root/" depmod -a $VERSION-slitaz64
    1.58 -}
    1.59 -
    1.60 -post_remove()
    1.61 -{
    1.62 -	chroot "$root/" depmod -a $VERSION-slitaz64
    1.63 -}