wok-current diff squirrelmail-html_mail/receipt @ rev 9036

iron-linux, squirrelmail plugins: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 00:08:04 2011 +0100 (2011-03-04)
parents 27175f0c11f5
children 91a615759636
line diff
     1.1 --- a/squirrelmail-html_mail/receipt	Sun Sep 26 09:30:21 2010 +0200
     1.2 +++ b/squirrelmail-html_mail/receipt	Fri Mar 04 00:08:04 2011 +0100
     1.3 @@ -12,12 +12,18 @@
     1.4  WGET_URL="${WEB_SITE}plugins/$TARBALL"
     1.5  CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php /etc/apache/conf.d"
     1.6  
     1.7 +# Rules to configure and make the package.
     1.8 +compile_rules()
     1.9 +{
    1.10 +	cp -a $src $DESTDIR/$SOURCE
    1.11 +}
    1.12 +
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail \
    1.17  		 $fs/etc/apache/conf.d
    1.18 -	cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
    1.19 +	cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins
    1.20  	mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \
    1.21  		$fs/etc/squirrelmail/config-$SOURCE.php
    1.22  	ln -s /etc/squirrelmail/config-$SOURCE.php \