wok diff squirrelmail-calendard-sql-backend/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 | ff4c00ab546f |
children | 91a615759636 |
line diff
1.1 --- a/squirrelmail-calendard-sql-backend/receipt Mon Feb 16 08:04:20 2009 +0000 1.2 +++ b/squirrelmail-calendard-sql-backend/receipt Fri Mar 04 00:08:04 2011 +0100 1.3 @@ -13,11 +13,17 @@ 1.4 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 1.5 PROVIDE="squirrelmail-calendard-backend" 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 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 1.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 1.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 1.20 $fs/etc/squirrelmail/config-$SOURCE.php 1.21 ln -s /etc/squirrelmail/config-$SOURCE.php \