wok annotate linux-scsi/receipt @ rev 18921
slitaz-i18n: remove files common to glibc-base from locale-* packages
glibc-extra-samba: 100% common to glibc-base; to remove?
glibc-extra-samba: 100% common to glibc-base; to remove?
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 24 22:42:08 2016 +0200 (2016-02-24) |
parents | db5b03f42dd9 |
children | ffc20f9bd49f |
rev | line source |
---|---|
pascal@899 | 1 # SliTaz package receipt. |
pascal@899 | 2 |
pascal@899 | 3 PACKAGE="linux-scsi" |
pascal@18296 | 4 VERSION="3.2.71" |
pascal@899 | 5 CATEGORY="base-system" |
pascal@899 | 6 SHORT_DESC="The Linux kernel scsi modules." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
pascal@2926 | 9 DEPENDS="linux" |
pascal@899 | 10 WANTED="linux" |
pascal@899 | 11 WEB_SITE="http://www.kernel.org/" |
pascal@899 | 12 |
pascal@899 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@899 | 14 genpkg_rules() |
pascal@899 | 15 { |
pascal@899 | 16 local path |
pankso@15855 | 17 path=lib/modules/$VERSION-slitaz/kernel |
pascal@899 | 18 mkdir -p $fs/$path |
pankso@15855 | 19 export src install |
slaxemulator@9700 | 20 $wanted_stuff/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@15603 | 23 cp -a $install/$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 { |
pankso@15855 | 30 chroot "$root/" depmod -a $VERSION-slitaz |
pascal@899 | 31 } |
pascal@899 | 32 |
pascal@899 | 33 post_remove() |
pascal@899 | 34 { |
pankso@15855 | 35 chroot "$root/" depmod -a $VERSION-slitaz |
pascal@899 | 36 } |
pascal@899 | 37 |