wok-current annotate linux-firewire/receipt @ rev 21021

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