wok-6.x annotate linux-irda/receipt @ rev 23028

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