wok-tiny view module-ext3/receipt @ rev 35

kernel: no more /proc/config.gz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 04 18:08:55 2011 +0100 (2011-02-04)
parents
children d3c5f3688ec0
line source
1 # SliTaz package receipt.
3 PACKAGE="module-ext3"
4 VERSION="2.6.37"
5 CATEGORY="base-system"
6 SHORT_DESC="Kernel module for the ext3 filesystem"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://mirror.slitaz.org/pizza/tiny/"
9 WANTED="kernel-modular"
10 CONFIG_FILES="/etc/filesystems"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 local path
16 path=lib/modules/$VERSION-slitaz/kernel
17 mkdir -p $fs/$path $fs/etc
18 export src=$WOK/$WANTED/linux-$VERSION
19 export _pkg=$src/_pkg
20 $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do
21 dir=$path/$(dirname $module)
22 [ -d $fs/$dir ] || mkdir -p $fs/$dir
23 cp -a $_pkg/$path/$module $fs/$dir
24 done
25 touch $fs/etc/filesystems
26 }
28 # Post install/remove commands for Tazpkg.
29 post_install()
30 {
31 grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
32 echo "${PACKAGE#*-}" >> $1/etc/filesystems
33 chroot "$1/" depmod -a $VERSION-slitaz
34 }