wok annotate squashfs-module/receipt @ rev 1947
nscd: chmod +x /etc/init.d/nscd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 28 21:46:02 2008 +0000 (2008-12-28) |
parents | c343c644ab92 |
children | c1610baa4cf4 |
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@909 | 8 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@909 | 9 WANTED="squashfs" |
pascal@909 | 10 |
pascal@909 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@909 | 12 genpkg_rules() |
pascal@909 | 13 { |
pascal@909 | 14 kver=$(grep "kernel version" ../linux/linux-*/.config) |
pascal@909 | 15 kver=${kver##* } |
pascal@909 | 16 EXTRAVERSION=_$kver |
pascal@909 | 17 cp -a $src/_pkg/lib $fs |
pascal@909 | 18 } |
pascal@909 | 19 |
pascal@909 | 20 # Post install/remove commands for Tazpkg. |
pascal@909 | 21 post_install() |
pascal@909 | 22 { |
pascal@1455 | 23 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz |
pascal@909 | 24 } |
pascal@909 | 25 |
pascal@909 | 26 post_remove() |
pascal@909 | 27 { |
pascal@909 | 28 depmod -a |
pascal@909 | 29 } |