wok-6.x annotate linux-firewire/receipt @ rev 8122
Fixed aufs and linux to use lzma-alone for compressing aufs.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 24 01:08:20 2011 +0000 (2011-01-24) |
parents | |
children | 1d89aa1672da |
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@8087 | 20 $src/slitaz/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@8087 | 35 depmod -a $VERSION-slitaz |
slaxemulator@8087 | 36 } |
slaxemulator@8087 | 37 |