wok-current view 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 |
line source
1 # SliTaz package receipt.
5 PACKED_SIZE="8.0k"
7 PACKED_SIZE="8.0k"
8 UNPACKED_SIZE="4.0k"
9 PACKAGE="linux-crypto"
10 VERSION="2.6.30.4"
11 CATEGORY="base-system"
12 SHORT_DESC="The Linux kernel crypto modules."
13 MAINTAINER="devel@slitaz.org"
14 DEPENDS="linux"
15 WANTED="linux"
16 WEB_SITE="http://www.kernel.org/"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 local path
22 path=lib/modules/$VERSION-slitaz/kernel
23 mkdir -p $fs/$path
24 export src
25 export _pkg
26 $src/list_modules.sh arch/x86/crypto crypto drivers/crypto | \
27 while read module; do
28 dir=$path/$(dirname $module)
29 [ -d $fs/$dir ] || mkdir -p $fs/$dir
30 cp -a $_pkg/$path/$module $fs/$dir
31 done
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 chroot "$1/" depmod -a $VERSION-slitaz
38 }
40 post_remove()
41 {
42 depmod -a $VERSION-slitaz
43 }