wok annotate linux-usbdsl/receipt @ rev 23448

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