wok-next diff linux64-sound/receipt @ rev 19638

Up tcl, tk, py3k, iso-codes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 13 02:23:31 2017 +0200 (2017-02-13)
parents 08cf996a2307
children
line diff
     1.1 --- a/linux64-sound/receipt	Mon Aug 17 11:03:13 2015 +0200
     1.2 +++ b/linux64-sound/receipt	Mon Feb 13 02:23:31 2017 +0200
     1.3 @@ -1,52 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux64-sound"
     1.7 -VERSION="3.2.71"
     1.8 +VERSION="4.9.0"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="The Linux kernel sound modules."
    1.11 +SHORT_DESC="The Linux Kernel sound modules"
    1.12  MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.kernel.org/"
    1.15 +PROVIDE="linux-sound:linux64"
    1.16 +
    1.17 +WANTED="linux"
    1.18  DEPENDS="linux64"
    1.19 -WANTED="linux"
    1.20 -PROVIDE="linux-sound:linux64"
    1.21 -WEB_SITE="http://www.kernel.org/"
    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 -    src=$WOK/linux64/source/tmp
    1.28 -    install=$install/linux64
    1.29 -    path=lib/modules/$VERSION-slitaz64/kernel
    1.30 -    mkdir -p $fs/$path
    1.31 -    export src
    1.32 -    export install
    1.33 -    $wanted_stuff/list_modules.sh sound | while read module; do
    1.34 -    	dir=$path/$(dirname $module)
    1.35 -    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.36 -        cp -a $install/$path/$module $fs/$dir
    1.37 -    done
    1.38 -	mkdir $fs/lib/firmware
    1.39 -	for i in ess korg sun yamaha; do
    1.40 -		cp -a $install/lib/firmware/$i $fs/lib/firmware
    1.41 -	done
    1.42 -
    1.43 -    for i in $(cat $wanted_stuff/modules.list); do
    1.44 -        if [ -f $fs/$path/$i ]; then
    1.45 -	    rm -f $fs/$path/$i
    1.46 -	fi
    1.47 -    done
    1.48 -
    1.49 +	. $wanted_stuff/copy_modules.sh
    1.50 +	copy_modules sound
    1.51  }
    1.52 -
    1.53 -# Post install/remove commands for Tazpkg.
    1.54 -post_install()
    1.55 -{
    1.56 -	chroot "$root/" depmod -a $VERSION-slitaz64
    1.57 -}
    1.58 -
    1.59 -post_remove()
    1.60 -{
    1.61 -	chroot "$root/" depmod -a $VERSION-slitaz64
    1.62 -}
    1.63 -