wok-current annotate linux-ocfs2/receipt @ rev 21890
updated screen, screen-pam and screen-terminfo (4.2.1 -> 4.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 11:03:39 2019 +0100 (2019-10-03) |
parents | ffc20f9bd49f |
children | 73f36875e5a7 |
rev | line source |
---|---|
pankso@12285 | 1 # SliTaz package receipt. |
pankso@12285 | 2 |
pankso@12285 | 3 PACKAGE="linux-ocfs2" |
pascal@20261 | 4 VERSION="3.16.55" |
pankso@12285 | 5 CATEGORY="base-system" |
pankso@12285 | 6 SHORT_DESC="ocfs2 filesystem" |
pascal@13025 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14657 | 8 LICENSE="GPL2" |
pankso@12285 | 9 WEB_SITE="http://kernel.org/" |
pankso@12285 | 10 WANTED="linux" |
pankso@12285 | 11 DEPENDS="linux" |
pankso@12285 | 12 |
pankso@12285 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12285 | 14 genpkg_rules() |
pankso@12285 | 15 { |
pankso@12285 | 16 local path |
pankso@15855 | 17 path=lib/modules/$VERSION-slitaz/kernel |
pankso@12285 | 18 mkdir -p $fs/$path |
pankso@12285 | 19 |
pankso@15855 | 20 export src install |
pankso@12285 | 21 |
pankso@12285 | 22 $wanted_stuff/list_modules.sh fs/ocfs2 | while read module; do |
pankso@12285 | 23 dir=$path/$(dirname $module) |
pankso@12285 | 24 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@15603 | 25 cp -a $install/$path/$module $fs/$dir |
pankso@12285 | 26 done |
pankso@12285 | 27 |
pankso@12285 | 28 for i in $(cat $wanted_stuff/modules.list); do |
pankso@12285 | 29 if [ -f $fs/$path/$i ]; then |
pankso@12285 | 30 rm -f $fs/$path/$i |
pankso@12285 | 31 fi |
pankso@12285 | 32 done |
pankso@12285 | 33 } |
pankso@12285 | 34 |
pankso@12285 | 35 # Post install/remove commands for Tazpkg. |
pankso@12285 | 36 post_install() |
pankso@12285 | 37 { |
pankso@15855 | 38 chroot "$root/" depmod -a $VERSION-slitaz |
pankso@12285 | 39 } |
pankso@12285 | 40 |
pankso@12285 | 41 post_remove() |
pankso@12285 | 42 { |
pankso@15855 | 43 chroot "$root/" depmod -a $VERSION-slitaz |
pankso@12285 | 44 } |