wok diff squashfs-module/receipt @ rev 1020
wpa_supplicant: use
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 09 12:49:30 2008 +0000 (2008-07-09) |
parents | |
children | c343c644ab92 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/squashfs-module/receipt Wed Jul 09 12:49:30 2008 +0000 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 +}