wok-4.x view squashfs-module/receipt @ rev 2082
slitaz-base-file: remove loop dpendency on busybox
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 27 00:54:11 2009 +0100 (2009-01-27) |
parents | 0d30d3d18dcb |
children | 8e44b7502050 |
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 WEB_SITE="http://$PACKAGE.sourceforge.net/"
9 WANTED="squashfs"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config)
15 kver=${kver##* }
16 EXTRAVERSION=_$kver
17 cp -a $src/_pkg/lib $fs
18 }
20 # Post install/remove commands for Tazpkg.
21 post_install()
22 {
23 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
24 }
26 post_remove()
27 {
28 depmod -a
29 }