wok diff squashfs-module/receipt @ rev 1019

fpm2: changed apps/menu name (Thanks cooltaz)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jul 08 23:48:13 2008 +0200 (2008-07-08)
parents
children c343c644ab92
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/squashfs-module/receipt	Tue Jul 08 23:48:13 2008 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="squashfs-module"
     1.7 +VERSION="3.3"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Linux squashfs module."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.12 +WANTED="squashfs"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	kver=$(grep "kernel version" ../linux/linux-*/.config)
    1.18 +	kver=${kver##* }
    1.19 +	EXTRAVERSION=_$kver
    1.20 +	cp -a $src/_pkg/lib $fs
    1.21 +}
    1.22 +
    1.23 +# Post install/remove commands for Tazpkg.
    1.24 +post_install()
    1.25 +{
    1.26 +	depmod -a -b "$1/"
    1.27 +}
    1.28 +
    1.29 +post_remove()
    1.30 +{
    1.31 +	depmod -a
    1.32 +}