wok-6.x annotate linux-crypto/receipt @ rev 3864
Up: linux (2.6.30.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 23:18:34 2009 +0200 (2009-08-07) |
parents | 9059daaaa23d |
children | bea1fdc6a26e |
rev | line source |
---|---|
pascal@928 | 1 # SliTaz package receipt. |
pascal@928 | 2 |
pankso@3864 | 3 |
pankso@3864 | 4 |
pankso@3864 | 5 PACKED_SIZE="8.0k" |
pankso@3864 | 6 |
pankso@3864 | 7 PACKED_SIZE="8.0k" |
pankso@3864 | 8 UNPACKED_SIZE="4.0k" |
pascal@928 | 9 PACKAGE="linux-crypto" |
pankso@3864 | 10 VERSION="2.6.30.4" |
pascal@928 | 11 CATEGORY="base-system" |
pascal@928 | 12 SHORT_DESC="The Linux kernel crypto modules." |
pankso@3864 | 13 MAINTAINER="devel@slitaz.org" |
pascal@2926 | 14 DEPENDS="linux" |
pascal@928 | 15 WANTED="linux" |
pascal@928 | 16 WEB_SITE="http://www.kernel.org/" |
pascal@928 | 17 |
pascal@928 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@928 | 19 genpkg_rules() |
pascal@928 | 20 { |
pascal@928 | 21 local path |
pascal@928 | 22 path=lib/modules/$VERSION-slitaz/kernel |
pascal@928 | 23 mkdir -p $fs/$path |
pascal@928 | 24 export src |
pascal@928 | 25 export _pkg |
pascal@1032 | 26 $src/list_modules.sh arch/x86/crypto crypto drivers/crypto | \ |
pascal@1032 | 27 while read module; do |
pascal@928 | 28 dir=$path/$(dirname $module) |
pascal@928 | 29 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@928 | 30 cp -a $_pkg/$path/$module $fs/$dir |
pascal@928 | 31 done |
pascal@928 | 32 } |
pascal@928 | 33 |
pascal@928 | 34 # Post install/remove commands for Tazpkg. |
pascal@928 | 35 post_install() |
pascal@928 | 36 { |
pascal@2990 | 37 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@928 | 38 } |
pascal@928 | 39 |
pascal@928 | 40 post_remove() |
pascal@928 | 41 { |
pascal@928 | 42 depmod -a $VERSION-slitaz |
pascal@928 | 43 } |
pascal@928 | 44 |