wok-4.x diff squirrelmail-shared_calendars/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 | 19af9989cbd6 |
children | 91a615759636 |
line diff
1.1 --- a/squirrelmail-shared_calendars/receipt Wed Feb 18 12:19:36 2009 +0000 1.2 +++ b/squirrelmail-shared_calendars/receipt Fri Mar 04 00:08:04 2011 +0100 1.3 @@ -12,11 +12,17 @@ 1.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 1.6 1.7 +# Rules to configure and make the package. 1.8 +compile_rules() 1.9 +{ 1.10 + cp -a $src $DESTDIR/calendar 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 calendar $fs/usr/share/squirrelmail/plugins 1.18 + cp -a $_pkg/calendar $fs/usr/share/squirrelmail/plugins 1.19 mv $fs/usr/share/squirrelmail/plugins/calendar/data/config.php.sample \ 1.20 $fs/etc/squirrelmail/config-$SOURCE.php 1.21 ln -s /etc/squirrelmail/config-$SOURCE.php \