wok-6.x annotate linux-scsi/receipt @ rev 6161
Up: thunderbird-langpack-de (3.1.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Sep 10 12:21:01 2010 +0200 (2010-09-10) |
parents | 33dfd49cdf84 |
children | 5355ffc461cf |
rev | line source |
---|---|
pascal@899 | 1 # SliTaz package receipt. |
pascal@899 | 2 |
pascal@899 | 3 PACKAGE="linux-scsi" |
pankso@5640 | 4 VERSION="2.6.34" |
pascal@899 | 5 CATEGORY="base-system" |
pascal@899 | 6 SHORT_DESC="The Linux kernel scsi modules." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@2926 | 8 DEPENDS="linux" |
pascal@899 | 9 WANTED="linux" |
pascal@899 | 10 WEB_SITE="http://www.kernel.org/" |
pascal@899 | 11 |
pascal@899 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@899 | 13 genpkg_rules() |
pascal@899 | 14 { |
pascal@899 | 15 local path |
pascal@899 | 16 path=lib/modules/$VERSION-slitaz/kernel |
pascal@899 | 17 mkdir -p $fs/$path |
pascal@899 | 18 export src |
pascal@899 | 19 export _pkg |
pascal@3920 | 20 $src/slitaz/list_modules.sh drivers/scsi | while read module; do |
pascal@899 | 21 dir=$path/$(dirname $module) |
pascal@899 | 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@899 | 23 cp -a $_pkg/$path/$module $fs/$dir |
pascal@899 | 24 done |
pascal@899 | 25 } |
pascal@899 | 26 |
pascal@899 | 27 # Post install/remove commands for Tazpkg. |
pascal@899 | 28 post_install() |
pascal@899 | 29 { |
pascal@2990 | 30 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@899 | 31 } |
pascal@899 | 32 |
pascal@899 | 33 post_remove() |
pascal@899 | 34 { |
pascal@899 | 35 depmod -a $VERSION-slitaz |
pascal@899 | 36 } |
pascal@899 | 37 |