wok-4.x annotate linux-firewire/receipt @ rev 12249

vte: save space on core and split python bindings in python-vte
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 09 19:03:43 2012 +0200 (2012-04-09)
parents 1d89aa1672da
children
rev   line source
slaxemulator@8087 1 # SliTaz package receipt.
slaxemulator@8087 2
slaxemulator@8087 3 PACKAGE="linux-firewire"
slaxemulator@8087 4 VERSION="2.6.37"
slaxemulator@8087 5 CATEGORY="base-system"
slaxemulator@8087 6 SHORT_DESC="The Linux kernel firewire modules."
slaxemulator@8087 7 MAINTAINER="devel@slitaz.org"
slaxemulator@8087 8 DEPENDS="linux"
slaxemulator@8087 9 WANTED="linux"
slaxemulator@8087 10 WEB_SITE="http://www.kernel.org/"
slaxemulator@8087 11
slaxemulator@8087 12 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8087 13 genpkg_rules()
slaxemulator@8087 14 {
slaxemulator@8087 15 local path
slaxemulator@8087 16 path=lib/modules/$VERSION-slitaz/kernel
slaxemulator@8087 17 mkdir -p $fs/$path
slaxemulator@8087 18 export src
slaxemulator@8087 19 export _pkg
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
slaxemulator@8087 23 cp -a $_pkg/$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 {
slaxemulator@8087 30 chroot "$1/" depmod -a $VERSION-slitaz
slaxemulator@8087 31 }
slaxemulator@8087 32
slaxemulator@8087 33 post_remove()
slaxemulator@8087 34 {
slaxemulator@8681 35 chroot "$1/" depmod -a $VERSION-slitaz
slaxemulator@8087 36 }
slaxemulator@8087 37