wok annotate linux-crypto/receipt @ rev 21464
updated moc (2.5.0 -> 2.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 30 14:28:03 2019 +0100 (2019-04-30) |
parents | 708b5293dd29 |
children |
rev | line source |
---|---|
pascal@928 | 1 # SliTaz package receipt. |
pascal@928 | 2 |
pascal@928 | 3 PACKAGE="linux-crypto" |
pascal@20261 | 4 VERSION="3.16.55" |
pascal@928 | 5 CATEGORY="base-system" |
pascal@928 | 6 SHORT_DESC="The Linux kernel crypto modules." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
pascal@2926 | 9 DEPENDS="linux" |
pascal@928 | 10 WANTED="linux" |
pascal@20421 | 11 WEB_SITE="https://www.kernel.org/" |
pascal@928 | 12 |
pascal@928 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@928 | 14 genpkg_rules() |
pascal@928 | 15 { |
pascal@928 | 16 local path |
pankso@15855 | 17 path=lib/modules/$VERSION-slitaz/kernel |
pascal@928 | 18 mkdir -p $fs/$path |
pankso@15855 | 19 export src install |
slaxemulator@9700 | 20 $wanted_stuff/list_modules.sh arch/x86/crypto crypto drivers/crypto | \ |
pascal@1032 | 21 while read module; do |
pascal@928 | 22 dir=$path/$(dirname $module) |
pascal@928 | 23 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@15603 | 24 cp -a $install/$path/$module $fs/$dir |
pascal@928 | 25 done |
slaxemulator@7239 | 26 |
pankso@12285 | 27 for i in $(cat $wanted_stuff/modules.list); do |
pankso@12285 | 28 if [ -f $fs/$path/$i ]; then |
pankso@12285 | 29 rm -f $fs/$path/$i |
slaxemulator@7239 | 30 fi |
slaxemulator@7239 | 31 done |
pascal@928 | 32 } |
pascal@928 | 33 |
pascal@928 | 34 # Post install/remove commands for Tazpkg. |
pascal@928 | 35 post_install() |
pascal@928 | 36 { |
pankso@15855 | 37 chroot "$root/" depmod -a $VERSION-slitaz |
pascal@928 | 38 } |
pascal@928 | 39 |
pascal@928 | 40 post_remove() |
pascal@928 | 41 { |
pankso@15855 | 42 chroot "$root/" depmod -a $VERSION-slitaz |
pascal@928 | 43 } |
pascal@928 | 44 |