wok-6.x rev 9036
iron-linux, squirrelmail plugins: fix genpkg_rules
line diff
1.1 --- a/iron-linux/receipt Thu Mar 03 17:32:36 2011 +0000 1.2 +++ b/iron-linux/receipt Fri Mar 04 00:08:04 2011 +0100 1.3 @@ -10,11 +10,17 @@ 1.4 WEB_SITE="http://www.srware.net/en/software_srware_iron.php" 1.5 WGET_URL="http://www.srware.net/downloads/$TARBALL" 1.6 1.7 +# Rules to configure and make the package. 1.8 +compile_rules() 1.9 +{ 1.10 + cp -a $src $DESTDIR/$PACKAGE 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/lib 1.17 - cp -a $PACKAGE $fs/usr/lib 1.18 + cp -a $_pkg/$PACKAGE $fs/usr/lib 1.19 # Desktop file 1.20 cp -a stuff/* $fs 1.21 }
2.1 --- a/squirrelmail-archive/receipt Thu Mar 03 17:32:36 2011 +0000 2.2 +++ b/squirrelmail-archive/receipt Fri Mar 04 00:08:04 2011 +0100 2.3 @@ -11,11 +11,17 @@ 2.4 DEPENDS="squirrelmail" 2.5 WGET_URL="${WEB_SITE}plugins/$TARBALL" 2.6 2.7 +# Rules to configure and make the package. 2.8 +compile_rules() 2.9 +{ 2.10 + cp -a $src $DESTDIR/$SOURCE 2.11 +} 2.12 + 2.13 # Rules to gen a SliTaz package suitable for Tazpkg. 2.14 genpkg_rules() 2.15 { 2.16 mkdir -p $fs/usr/share/squirrelmail/plugins 2.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 2.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 2.19 } 2.20 2.21 post_install()
3.1 --- a/squirrelmail-autocomplete/receipt Thu Mar 03 17:32:36 2011 +0000 3.2 +++ b/squirrelmail-autocomplete/receipt Fri Mar 04 00:08:04 2011 +0100 3.3 @@ -12,11 +12,17 @@ 3.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 3.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 3.6 3.7 +# Rules to configure and make the package. 3.8 +compile_rules() 3.9 +{ 3.10 + cp -a $src $DESTDIR/$SOURCE 3.11 +} 3.12 + 3.13 # Rules to gen a SliTaz package suitable for Tazpkg. 3.14 genpkg_rules() 3.15 { 3.16 mkdir -p $fs/usr/share/squirrelmail/plugins 3.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 3.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 3.19 } 3.20 3.21 post_install()
4.1 --- a/squirrelmail-autorespond/receipt Thu Mar 03 17:32:36 2011 +0000 4.2 +++ b/squirrelmail-autorespond/receipt Fri Mar 04 00:08:04 2011 +0100 4.3 @@ -12,11 +12,17 @@ 4.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 4.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 4.6 4.7 +# Rules to configure and make the package. 4.8 +compile_rules() 4.9 +{ 4.10 + cp -a $src $DESTDIR/$SOURCE 4.11 +} 4.12 + 4.13 # Rules to gen a SliTaz package suitable for Tazpkg. 4.14 genpkg_rules() 4.15 { 4.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 4.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 4.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 4.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php \ 4.20 $fs/etc/squirrelmail/config-$SOURCE.php 4.21 ln -s /etc/squirrelmail/config-$SOURCE.php \
5.1 --- a/squirrelmail-bookmarks/receipt Thu Mar 03 17:32:36 2011 +0000 5.2 +++ b/squirrelmail-bookmarks/receipt Fri Mar 04 00:08:04 2011 +0100 5.3 @@ -12,11 +12,17 @@ 5.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 5.5 CONFIG_FILES="/etc/squirrelmail/bookmarks_data.php" 5.6 5.7 +# Rules to configure and make the package. 5.8 +compile_rules() 5.9 +{ 5.10 + cp -a $src $DESTDIR/$SOURCE 5.11 +} 5.12 + 5.13 # Rules to gen a SliTaz package suitable for Tazpkg. 5.14 genpkg_rules() 5.15 { 5.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 5.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 5.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 5.19 rm -f $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php 5.20 ln -s /usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data_text.php \ 5.21 $fs/etc/squirrelmail/bookmarks_data.php
6.1 --- a/squirrelmail-calendard-file-backend/receipt Thu Mar 03 17:32:36 2011 +0000 6.2 +++ b/squirrelmail-calendard-file-backend/receipt Fri Mar 04 00:08:04 2011 +0100 6.3 @@ -12,11 +12,17 @@ 6.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 6.5 PROVIDE="squirrelmail-calendard-backend" 6.6 6.7 +# Rules to configure and make the package. 6.8 +compile_rules() 6.9 +{ 6.10 + cp -a $src $DESTDIR/$SOURCE 6.11 +} 6.12 + 6.13 # Rules to gen a SliTaz package suitable for Tazpkg. 6.14 genpkg_rules() 6.15 { 6.16 mkdir -p $fs/usr/share/squirrelmail/plugins 6.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 6.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 6.19 } 6.20 6.21 post_install()
7.1 --- a/squirrelmail-calendard-sql-backend/receipt Thu Mar 03 17:32:36 2011 +0000 7.2 +++ b/squirrelmail-calendard-sql-backend/receipt Fri Mar 04 00:08:04 2011 +0100 7.3 @@ -13,11 +13,17 @@ 7.4 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 7.5 PROVIDE="squirrelmail-calendard-backend" 7.6 7.7 +# Rules to configure and make the package. 7.8 +compile_rules() 7.9 +{ 7.10 + cp -a $src $DESTDIR/$SOURCE 7.11 +} 7.12 + 7.13 # Rules to gen a SliTaz package suitable for Tazpkg. 7.14 genpkg_rules() 7.15 { 7.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 7.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 7.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 7.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 7.20 $fs/etc/squirrelmail/config-$SOURCE.php 7.21 ln -s /etc/squirrelmail/config-$SOURCE.php \
8.1 --- a/squirrelmail-compatibility-plugin/receipt Thu Mar 03 17:32:36 2011 +0000 8.2 +++ b/squirrelmail-compatibility-plugin/receipt Fri Mar 04 00:08:04 2011 +0100 8.3 @@ -11,9 +11,15 @@ 8.4 DEPENDS="squirrelmail" 8.5 WGET_URL="${WEB_SITE}plugins/$TARBALL" 8.6 8.7 +# Rules to configure and make the package. 8.8 +compile_rules() 8.9 +{ 8.10 + cp -a $src $DESTDIR/$SOURCE 8.11 +} 8.12 + 8.13 # Rules to gen a SliTaz package suitable for Tazpkg. 8.14 genpkg_rules() 8.15 { 8.16 mkdir -p $fs/usr/share/squirrelmail/plugins 8.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 8.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 8.19 }
9.1 --- a/squirrelmail-html/receipt Thu Mar 03 17:32:36 2011 +0000 9.2 +++ b/squirrelmail-html/receipt Fri Mar 04 00:08:04 2011 +0100 9.3 @@ -11,11 +11,17 @@ 9.4 DEPENDS="squirrelmail" 9.5 WGET_URL="${WEB_SITE}plugins/$TARBALL" 9.6 9.7 +# Rules to configure and make the package. 9.8 +compile_rules() 9.9 +{ 9.10 + cp -a $src $DESTDIR/$SOURCE 9.11 +} 9.12 + 9.13 # Rules to gen a SliTaz package suitable for Tazpkg. 9.14 genpkg_rules() 9.15 { 9.16 mkdir -p $fs/usr/share/squirrelmail/plugins 9.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 9.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 9.19 chown -R 80 $fs/usr/share/squirrelmail 9.20 } 9.21
10.1 --- a/squirrelmail-html_mail/receipt Thu Mar 03 17:32:36 2011 +0000 10.2 +++ b/squirrelmail-html_mail/receipt Fri Mar 04 00:08:04 2011 +0100 10.3 @@ -12,12 +12,18 @@ 10.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 10.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php /etc/apache/conf.d" 10.6 10.7 +# Rules to configure and make the package. 10.8 +compile_rules() 10.9 +{ 10.10 + cp -a $src $DESTDIR/$SOURCE 10.11 +} 10.12 + 10.13 # Rules to gen a SliTaz package suitable for Tazpkg. 10.14 genpkg_rules() 10.15 { 10.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail \ 10.17 $fs/etc/apache/conf.d 10.18 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 10.19 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 10.20 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 10.21 $fs/etc/squirrelmail/config-$SOURCE.php 10.22 ln -s /etc/squirrelmail/config-$SOURCE.php \
11.1 --- a/squirrelmail-ldapuser/receipt Thu Mar 03 17:32:36 2011 +0000 11.2 +++ b/squirrelmail-ldapuser/receipt Fri Mar 04 00:08:04 2011 +0100 11.3 @@ -12,11 +12,17 @@ 11.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 11.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 11.6 11.7 +# Rules to configure and make the package. 11.8 +compile_rules() 11.9 +{ 11.10 + cp -a $src $DESTDIR/$SOURCE 11.11 +} 11.12 + 11.13 # Rules to gen a SliTaz package suitable for Tazpkg. 11.14 genpkg_rules() 11.15 { 11.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 11.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 11.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 11.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config_sample.php \ 11.20 $fs/etc/squirrelmail/config-$SOURCE.php 11.21 ln -s /etc/squirrelmail/config-$SOURCE.php \
12.1 --- a/squirrelmail-legend/receipt Thu Mar 03 17:32:36 2011 +0000 12.2 +++ b/squirrelmail-legend/receipt Fri Mar 04 00:08:04 2011 +0100 12.3 @@ -11,11 +11,17 @@ 12.4 DEPENDS="squirrelmail" 12.5 WGET_URL="${WEB_SITE}plugins/$TARBALL" 12.6 12.7 +# Rules to configure and make the package. 12.8 +compile_rules() 12.9 +{ 12.10 + cp -a $src $DESTDIR/$SOURCE 12.11 +} 12.12 + 12.13 # Rules to gen a SliTaz package suitable for Tazpkg. 12.14 genpkg_rules() 12.15 { 12.16 mkdir -p $fs/usr/share/squirrelmail/plugins 12.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 12.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 12.19 } 12.20 12.21 post_install()
13.1 --- a/squirrelmail-msg_flags/receipt Thu Mar 03 17:32:36 2011 +0000 13.2 +++ b/squirrelmail-msg_flags/receipt Fri Mar 04 00:08:04 2011 +0100 13.3 @@ -11,11 +11,17 @@ 13.4 DEPENDS="squirrelmail" 13.5 WGET_URL="${WEB_SITE}plugins/$TARBALL" 13.6 13.7 +# Rules to configure and make the package. 13.8 +compile_rules() 13.9 +{ 13.10 + cp -a $src $DESTDIR/$SOURCE 13.11 +} 13.12 + 13.13 # Rules to gen a SliTaz package suitable for Tazpkg. 13.14 genpkg_rules() 13.15 { 13.16 mkdir -p $fs/usr/share/squirrelmail/plugins 13.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 13.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 13.19 } 13.20 13.21 post_install()
14.1 --- a/squirrelmail-multilogin/receipt Thu Mar 03 17:32:36 2011 +0000 14.2 +++ b/squirrelmail-multilogin/receipt Fri Mar 04 00:08:04 2011 +0100 14.3 @@ -12,12 +12,18 @@ 14.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 14.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 14.6 14.7 +# Rules to configure and make the package. 14.8 +compile_rules() 14.9 +{ 14.10 + cp -a $src $DESTDIR/$SOURCE 14.11 +} 14.12 + 14.13 # Rules to gen a SliTaz package suitable for Tazpkg. 14.14 genpkg_rules() 14.15 { 14.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail \ 14.17 $fs/var/lib/squirrelmail/slitaz.org/data 14.18 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 14.19 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 14.20 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 14.21 $fs/etc/squirrelmail/config-$SOURCE.php 14.22 ln -s /etc/squirrelmail/config-$SOURCE.php \
15.1 --- a/squirrelmail-notes/receipt Thu Mar 03 17:32:36 2011 +0000 15.2 +++ b/squirrelmail-notes/receipt Fri Mar 04 00:08:04 2011 +0100 15.3 @@ -12,11 +12,17 @@ 15.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 15.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 15.6 15.7 +# Rules to configure and make the package. 15.8 +compile_rules() 15.9 +{ 15.10 + cp -a $src $DESTDIR/$SOURCE 15.11 +} 15.12 + 15.13 # Rules to gen a SliTaz package suitable for Tazpkg. 15.14 genpkg_rules() 15.15 { 15.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 15.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 15.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 15.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 15.20 $fs/etc/squirrelmail/config-$SOURCE.php 15.21 ln -s /etc/squirrelmail/config-$SOURCE.php \
16.1 --- a/squirrelmail-quota/receipt Thu Mar 03 17:32:36 2011 +0000 16.2 +++ b/squirrelmail-quota/receipt Fri Mar 04 00:08:04 2011 +0100 16.3 @@ -12,11 +12,17 @@ 16.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 16.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 16.6 16.7 +# Rules to configure and make the package. 16.8 +compile_rules() 16.9 +{ 16.10 + cp -a $src $DESTDIR/$SOURCE 16.11 +} 16.12 + 16.13 # Rules to gen a SliTaz package suitable for Tazpkg. 16.14 genpkg_rules() 16.15 { 16.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 16.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 16.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 16.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 16.20 $fs/etc/squirrelmail/config-$SOURCE.php 16.21 sed -i "s/settings\['quota_type'\] = 0/settings['quota_type'] = 1/" \
17.1 --- a/squirrelmail-shared_calendars/receipt Thu Mar 03 17:32:36 2011 +0000 17.2 +++ b/squirrelmail-shared_calendars/receipt Fri Mar 04 00:08:04 2011 +0100 17.3 @@ -12,11 +12,17 @@ 17.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 17.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 17.6 17.7 +# Rules to configure and make the package. 17.8 +compile_rules() 17.9 +{ 17.10 + cp -a $src $DESTDIR/calendar 17.11 +} 17.12 + 17.13 # Rules to gen a SliTaz package suitable for Tazpkg. 17.14 genpkg_rules() 17.15 { 17.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 17.17 - cp -a calendar $fs/usr/share/squirrelmail/plugins 17.18 + cp -a $_pkg/calendar $fs/usr/share/squirrelmail/plugins 17.19 mv $fs/usr/share/squirrelmail/plugins/calendar/data/config.php.sample \ 17.20 $fs/etc/squirrelmail/config-$SOURCE.php 17.21 ln -s /etc/squirrelmail/config-$SOURCE.php \
18.1 --- a/squirrelmail-sieve/receipt Thu Mar 03 17:32:36 2011 +0000 18.2 +++ b/squirrelmail-sieve/receipt Fri Mar 04 00:08:04 2011 +0100 18.3 @@ -12,11 +12,17 @@ 18.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 18.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 18.6 18.7 +# Rules to configure and make the package. 18.8 +compile_rules() 18.9 +{ 18.10 + cp -a $src $DESTDIR/$SOURCE 18.11 +} 18.12 + 18.13 # Rules to gen a SliTaz package suitable for Tazpkg. 18.14 genpkg_rules() 18.15 { 18.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 18.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 18.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 18.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config/config_sample.php \ 18.20 $fs/etc/squirrelmail/config-$SOURCE.php 18.21 ln -s /etc/squirrelmail/config-$SOURCE.php \
19.1 --- a/squirrelmail-sizes/receipt Thu Mar 03 17:32:36 2011 +0000 19.2 +++ b/squirrelmail-sizes/receipt Fri Mar 04 00:08:04 2011 +0100 19.3 @@ -11,11 +11,17 @@ 19.4 DEPENDS="squirrelmail" 19.5 WGET_URL="${WEB_SITE}plugins/$TARBALL" 19.6 19.7 +# Rules to configure and make the package. 19.8 +compile_rules() 19.9 +{ 19.10 + cp -a $src $DESTDIR/$SOURCE 19.11 +} 19.12 + 19.13 # Rules to gen a SliTaz package suitable for Tazpkg. 19.14 genpkg_rules() 19.15 { 19.16 mkdir -p $fs/usr/share/squirrelmail/plugins 19.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 19.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 19.19 } 19.20 19.21 post_install()
20.1 --- a/squirrelmail-spamassassin/receipt Thu Mar 03 17:32:36 2011 +0000 20.2 +++ b/squirrelmail-spamassassin/receipt Fri Mar 04 00:08:04 2011 +0100 20.3 @@ -12,11 +12,17 @@ 20.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 20.5 SUGGESTED="spamassassin" 20.6 20.7 +# Rules to configure and make the package. 20.8 +compile_rules() 20.9 +{ 20.10 + cp -a $src $DESTDIR/$SOURCE 20.11 +} 20.12 + 20.13 # Rules to gen a SliTaz package suitable for Tazpkg. 20.14 genpkg_rules() 20.15 { 20.16 mkdir -p $fs/usr/share/squirrelmail/plugins 20.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 20.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 20.19 } 20.20 20.21 post_install()
21.1 --- a/squirrelmail-vkeyboard/receipt Thu Mar 03 17:32:36 2011 +0000 21.2 +++ b/squirrelmail-vkeyboard/receipt Fri Mar 04 00:08:04 2011 +0100 21.3 @@ -12,11 +12,17 @@ 21.4 WGET_URL="${WEB_SITE}plugins/$TARBALL" 21.5 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 21.6 21.7 +# Rules to configure and make the package. 21.8 +compile_rules() 21.9 +{ 21.10 + cp -a $src $DESTDIR/$SOURCE 21.11 +} 21.12 + 21.13 # Rules to gen a SliTaz package suitable for Tazpkg. 21.14 genpkg_rules() 21.15 { 21.16 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 21.17 - cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 21.18 + cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 21.19 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 21.20 $fs/etc/squirrelmail/config-$SOURCE.php 21.21 ln -s /etc/squirrelmail/config-$SOURCE.php \