wok-current annotate linux-firewire/receipt @ rev 18296
Up linux (3.2.71)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 17 11:03:13 2015 +0200 (2015-08-17) |
parents | db5b03f42dd9 |
children | ffc20f9bd49f |
rev | line source |
---|---|
slaxemulator@8087 | 1 # SliTaz package receipt. |
slaxemulator@8087 | 2 |
slaxemulator@8087 | 3 PACKAGE="linux-firewire" |
pascal@18296 | 4 VERSION="3.2.71" |
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" |
slaxemulator@8087 | 11 WEB_SITE="http://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 |