wok-tiny view module-hfsplus/receipt @ rev 55
Add jslinux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 15:40:03 2011 +0200 (2011-05-19) |
parents | 30ddfd54686e |
children | a6d2ddc65590 |
line source
1 # SliTaz package receipt.
3 PACKAGE="module-hfsplus"
4 VERSION="2.6.37"
5 CATEGORY="base-system"
6 SHORT_DESC="Kernel module for the hfsplus 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 }