wok-6.x annotate linux-sched/receipt @ rev 22375
updated ilmbase and ilmbase-dev once again (2.2.0 -> 2.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 27 16:51:59 2019 +0100 (2019-11-27) |
parents | 708b5293dd29 |
children |
rev | line source |
---|---|
pascal@2165 | 1 # SliTaz package receipt. |
pascal@2165 | 2 |
pascal@2165 | 3 PACKAGE="linux-sched" |
pascal@20261 | 4 VERSION="3.16.55" |
pascal@2165 | 5 CATEGORY="base-system" |
pascal@2165 | 6 SHORT_DESC="The Linux kernel sched modules." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
pascal@2926 | 9 DEPENDS="linux" |
pascal@2165 | 10 WANTED="linux" |
pascal@20421 | 11 WEB_SITE="https://www.kernel.org/" |
pascal@2165 | 12 |
pascal@2165 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2165 | 14 genpkg_rules() |
pascal@2165 | 15 { |
pascal@2165 | 16 local path |
pankso@15855 | 17 path=lib/modules/$VERSION-slitaz/kernel |
pascal@2165 | 18 mkdir -p $fs/$path |
pascal@2165 | 19 |
pankso@15855 | 20 export src install |
pascal@2165 | 21 |
slaxemulator@9700 | 22 $wanted_stuff/list_modules.sh net/sched | while read module; do |
pascal@2165 | 23 dir=$path/$(dirname $module) |
pascal@2165 | 24 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@15603 | 25 cp -a $install/$path/$module $fs/$dir |
pascal@2165 | 26 done |
pascal@2165 | 27 } |
pascal@2165 | 28 |
pascal@2165 | 29 # Post install/remove commands for Tazpkg. |
pascal@2165 | 30 post_install() |
pascal@2165 | 31 { |
pankso@15855 | 32 chroot "$root/" depmod -a $VERSION-slitaz |
pascal@2165 | 33 } |
pascal@2165 | 34 |
pascal@2165 | 35 post_remove() |
pascal@2165 | 36 { |
pankso@15855 | 37 chroot "$root/" depmod -a $VERSION-slitaz |
pascal@2165 | 38 } |
pascal@2165 | 39 |