wok-current annotate 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 |
rev | line source |
---|---|
pascal@909 | 1 # SliTaz package receipt. |
pascal@909 | 2 |
pascal@909 | 3 PACKAGE="squashfs-module" |
pascal@909 | 4 VERSION="3.3" |
pascal@909 | 5 CATEGORY="base-system" |
pascal@909 | 6 SHORT_DESC="Linux squashfs module." |
pascal@909 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2926 | 8 DEPENDS="linux" |
pascal@2559 | 9 WEB_SITE="http://squashfs.sourceforge.net/" |
pascal@909 | 10 WANTED="squashfs" |
pascal@909 | 11 |
pascal@909 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@909 | 13 genpkg_rules() |
pascal@909 | 14 { |
pascal@2062 | 15 kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) |
pascal@909 | 16 kver=${kver##* } |
pascal@909 | 17 EXTRAVERSION=_$kver |
pascal@909 | 18 cp -a $src/_pkg/lib $fs |
pascal@909 | 19 } |
pascal@909 | 20 |
pascal@909 | 21 # Post install/remove commands for Tazpkg. |
pascal@909 | 22 post_install() |
pascal@909 | 23 { |
pascal@2926 | 24 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz |
pascal@909 | 25 } |
pascal@909 | 26 |
pascal@909 | 27 post_remove() |
pascal@909 | 28 { |
pascal@909 | 29 depmod -a |
pascal@909 | 30 } |