wok-current view squashfs-module/receipt @ rev 2939

Up: libgpg-error-* (1.7)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri May 08 00:11:57 2009 +0200 (2009-05-08)
parents 8e44b7502050
children
line source
1 # SliTaz package receipt.
3 PACKAGE="squashfs-module"
4 VERSION="3.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Linux squashfs module."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="linux"
9 WEB_SITE="http://squashfs.sourceforge.net/"
10 WANTED="squashfs"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config)
16 kver=${kver##* }
17 EXTRAVERSION=_$kver
18 cp -a $src/_pkg/lib $fs
19 }
21 # Post install/remove commands for Tazpkg.
22 post_install()
23 {
24 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
25 }
27 post_remove()
28 {
29 depmod -a
30 }