wok-next annotate linux-sched/receipt @ rev 15712
connman: use pidof string if no .pid file
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Dec 23 22:28:27 2013 +0000 (2013-12-23) |
parents | 051931e905b0 |
children | db5b03f42dd9 |
rev | line source |
---|---|
pascal@2165 | 1 # SliTaz package receipt. |
pascal@2165 | 2 |
pascal@2165 | 3 PACKAGE="linux-sched" |
pascal@15670 | 4 VERSION="3.2.53" |
pankso@12285 | 5 BASEVER="${VERSION:0:3}" |
pascal@2165 | 6 CATEGORY="base-system" |
pascal@2165 | 7 SHORT_DESC="The Linux kernel sched modules." |
pankso@3864 | 8 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 9 LICENSE="GPL2" |
pascal@2926 | 10 DEPENDS="linux" |
pascal@2165 | 11 WANTED="linux" |
pascal@2165 | 12 WEB_SITE="http://www.kernel.org/" |
pascal@2165 | 13 |
pascal@2165 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2165 | 15 genpkg_rules() |
pascal@2165 | 16 { |
pascal@2165 | 17 local path |
pankso@12285 | 18 path=lib/modules/$BASEVER-slitaz/kernel |
pascal@2165 | 19 mkdir -p $fs/$path |
pascal@2165 | 20 |
pascal@2165 | 21 export src |
pascal@2165 | 22 export _pkg |
pascal@2165 | 23 |
slaxemulator@9700 | 24 $wanted_stuff/list_modules.sh net/sched | while read module; do |
pascal@2165 | 25 dir=$path/$(dirname $module) |
pascal@2165 | 26 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@15603 | 27 cp -a $install/$path/$module $fs/$dir |
pascal@2165 | 28 done |
pascal@2165 | 29 } |
pascal@2165 | 30 |
pascal@2165 | 31 # Post install/remove commands for Tazpkg. |
pascal@2165 | 32 post_install() |
pascal@2165 | 33 { |
pankso@12285 | 34 chroot "$1/" depmod -a $BASEVER-slitaz |
pascal@2165 | 35 } |
pascal@2165 | 36 |
pascal@2165 | 37 post_remove() |
pascal@2165 | 38 { |
pankso@12285 | 39 chroot "$1/" depmod -a $BASEVER-slitaz |
pascal@2165 | 40 } |
pascal@2165 | 41 |