wok diff ssmtp/receipt @ rev 9961
deadbeef: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 15:43:27 2011 +0200 (2011-05-18) |
parents | 1794ce625358 |
children | 58db922eca44 |
line diff
1.1 --- a/ssmtp/receipt Fri Jun 26 00:18:25 2009 +0800 1.2 +++ b/ssmtp/receipt Wed May 18 15:43:27 2011 +0200 1.3 @@ -14,7 +14,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd ssmtp 1.8 + cd $src 1.9 ./configure --prefix=/usr \ 1.10 --sysconfdir=/etc \ 1.11 --mandir=/usr/share/man \ 1.12 @@ -32,7 +32,6 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - _pkg=$PWD/ssmtp/_pkg 1.17 mkdir -p $fs/usr 1.18 cp -a $_pkg/usr/sbin/ $fs/usr/ 1.19 cp -a $_pkg/etc/ $fs/ 1.20 @@ -51,12 +50,7 @@ 1.21 post_remove() 1.22 { 1.23 echo "Processing post-remove commands..." 1.24 - rm -f /usr/sbin/sendmail 1.25 - rm -f /usr/sbin/newaliases 1.26 - rm -f /usr/sbin/mailq 1.27 + rm -f $1/usr/sbin/sendmail 1.28 + rm -f $1/usr/sbin/newaliases 1.29 + rm -f $1/usr/sbin/mailq 1.30 } 1.31 - 1.32 -clean_wok() 1.33 -{ 1.34 - rm -rf ssmtp 1.35 -}