wok-stable rev 1220
Add squirrelmail-multilogin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 10 07:50:48 2008 +0000 (2008-08-10) |
parents | dc8fe8a0f6df |
children | e096df3fcdc7 |
files | squirrelmail-compatibility-plugin/receipt squirrelmail-multilogin/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/squirrelmail-compatibility-plugin/receipt Sun Aug 10 07:50:48 2008 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="squirrelmail-compatibility-plugin" 1.7 +VERSION="2.0.13-1.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Compatibility plugin for Web mail need by many plugins." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="compatibility" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.squirrelmail.org/" 1.14 +DEPENDS="squirrelmail" 1.15 +WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/share/squirrelmail/plugins 1.21 + cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/squirrelmail-multilogin/receipt Sun Aug 10 07:50:48 2008 +0000 2.3 @@ -0,0 +1,38 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="squirrelmail-multilogin" 2.7 +VERSION="2.4-1.2.9" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Server chooser plugin for Web mail." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +SOURCE="multilogin" 2.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.squirrelmail.org/" 2.14 +DEPENDS="squirrelmail squirrelmail-compatibility-plugin" 2.15 +WGET_URL="${WEB_SITE}plugins/$TARBALL" 2.16 +CONFIG_FILES="/etc/squirrelmail/config-multilogin.php" 2.17 + 2.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 +genpkg_rules() 2.20 +{ 2.21 + mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 2.22 + cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 2.23 + mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 2.24 + $fs/etc/squirrelmail/config-multilogin.php 2.25 + ln -s /etc/squirrelmail/config-multilogin.php \ 2.26 + $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 2.27 +} 2.28 + 2.29 +post_install() 2.30 +{ 2.31 + ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \ 2.32 + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 2.33 +etc/squirrelmail/config-multilogin.php 2.34 +EOT 2.35 + echo "\$plugins[] = '$SOURCE';" >> $fs/etc/squirrelmail/config_local.php 2.36 +} 2.37 + 2.38 +repack_cleanup() 2.39 +{ 2.40 + zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id ) 2.41 +}