wok-next diff linux64-coda/receipt @ rev 19639
Up xcb-util-*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Feb 13 02:58:19 2017 +0200 (2017-02-13) |
parents | 9e01bc6321ea |
children |
line diff
1.1 --- a/linux64-coda/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/linux64-coda/receipt Mon Feb 13 02:58:19 2017 +0200 1.3 @@ -1,46 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux64-coda" 1.7 -VERSION="3.2.71" 1.8 +VERSION="4.9.0" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="The Linux kernel coda module." 1.11 +SHORT_DESC="The Linux Kernel Coda 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 +PROVIDE="linux-coda:linux64" 1.17 + 1.18 +WANTED="linux" 1.19 DEPENDS="linux64" 1.20 -WANTED="linux" 1.21 -PROVIDE="linux-coda:linux64" 1.22 -WEB_SITE="http://www.kernel.org/" 1.23 -CONFIG_FILES="/etc/filesystems" 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - local path 1.29 - src=$WOK/linux64/source/tmp 1.30 - install=$install/linux64 1.31 - path=lib/modules/$VERSION-slitaz64/kernel 1.32 - mkdir -p $fs/$path $fs/etc 1.33 - export src 1.34 - export install 1.35 - $wanted_stuff/list_modules.sh fs/coda | 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 - touch $fs/etc/filesystems 1.41 + . $wanted_stuff/copy_modules.sh 1.42 + copy_modules fs/coda 1.43 } 1.44 - 1.45 -# Post install/remove commands for Tazpkg. 1.46 -post_install() 1.47 -{ 1.48 - grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \ 1.49 - echo "${PACKAGE#*-}" >> "$1/etc/filesystems" 1.50 - chroot "$1/" depmod -a $VERSION-slitaz64 1.51 -} 1.52 - 1.53 -post_remove() 1.54 -{ 1.55 - sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems" 1.56 - chroot "$1/" depmod -a $VERSION-slitaz64 1.57 -} 1.58 -