wok-next diff squashfs/receipt @ rev 2605
php (php-imap): do not link pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 18:27:50 2009 +0000 (2009-04-10) |
parents | 749730241669 |
children | 943999dafee6 |
line diff
1.1 --- a/squashfs/receipt Tue Mar 10 11:52:45 2009 +0000 1.2 +++ b/squashfs/receipt Fri Apr 10 18:27:50 2009 +0000 1.3 @@ -11,6 +11,7 @@ 1.4 DEPENDS="zlib squashfs-module" 1.5 BUILD_DEPENDS="zlib-dev patch lzma" 1.6 PROVIDE="cromfs-or-squashfs" 1.7 +CONFIG_FILES="/etc/filesystems" 1.8 1.9 # Download a source tarball 1.10 . /etc/tazwok.conf 1.11 @@ -179,17 +180,19 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 + mkdir $fs/etc 1.16 + touch $fs/etc/filesystems 1.17 cp -a $_pkg/usr $_pkg/sbin $fs 1.18 } 1.19 1.20 # Pre remove and post install commands for Tazpkg. 1.21 pre_remove() 1.22 { 1.23 - sed -i '/^squashfs$/d' $1/etc/filesystems 1.24 + sed -i '/^$PACKAGE$/d' $1/etc/filesystems 1.25 } 1.26 1.27 post_install() 1.28 { 1.29 - grep -qs ^squashfs$ $1/etc/filesystems || \ 1.30 - echo "squashfs" >> $1/etc/filesystems 1.31 + grep -qs ^$PACKAGE$ $1/etc/filesystems || \ 1.32 + echo "$PACKAGE" >> $1/etc/filesystems 1.33 }