wok-tiny view module-reiserfs/receipt @ rev 68

fbvnc: speedup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 12 15:43:10 2011 +0200 (2011-09-12)
parents cec4b1afcd56
children a6d2ddc65590
line source
1 # SliTaz package receipt.
3 PACKAGE="module-reiserfs"
4 VERSION="2.6.37"
5 CATEGORY="base-system"
6 SHORT_DESC="Kernel module for the reiserfs filesystem"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://tiny.slitaz.org/"
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 }