wok-6.x annotate squirrelmail-autorespond/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents f353d1f31c59
children f81e47267992
rev   line source
pascal@2248 1 # SliTaz package receipt.
pascal@2248 2
pascal@2248 3 PACKAGE="squirrelmail-autorespond"
pascal@2248 4 VERSION="0.5.1-1.4"
pascal@2248 5 CATEGORY="network"
pascal@2248 6 SHORT_DESC="Vacation and forwarding plugin for Web mail."
pascal@2248 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2248 8 SOURCE="autorespond"
pascal@2248 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@2248 10 WEB_SITE="http://www.squirrelmail.org/"
pascal@2248 11 DEPENDS="squirrelmail vacation"
pascal@2248 12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
pascal@2248 13 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php"
pascal@2248 14
pascal@2248 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2248 16 genpkg_rules()
pascal@2248 17 {
pascal@2248 18 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail
pascal@2248 19 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
pascal@2248 20 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php \
pascal@2248 21 $fs/etc/squirrelmail/config-$SOURCE.php
pascal@2248 22 ln -s /etc/squirrelmail/config-$SOURCE.php \
pascal@2248 23 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php
pascal@2248 24 }
pascal@2248 25
pascal@2248 26 post_install()
pascal@2248 27 {
pascal@2248 28 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
pascal@2248 29 }
pascal@2248 30
pascal@2260 31 pre_remove()
pascal@2248 32 {
pascal@2248 33 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
pascal@2248 34 }