wok annotate squashfs-module/receipt @ rev 1281
Add: libiconv
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Mon Aug 18 22:19:43 2008 +0200 (2008-08-18) |
parents | |
children | c343c644ab92 |
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@909 | 23 depmod -a -b "$1/" |
pascal@909 | 24 } |
pascal@909 | 25 |
pascal@909 | 26 post_remove() |
pascal@909 | 27 { |
pascal@909 | 28 depmod -a |
pascal@909 | 29 } |