wok-next annotate linux-firewire/receipt @ rev 8777
php: need openldap to build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 13:26:39 2011 +0100 (2011-02-22) |
parents | 7a2cf0920dfb |
children | d1768332cee0 |
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@8681 | 20 $WOK/$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 |