# HG changeset patch # User Pascal Bellard # Date 1218362394 0 # Node ID d431cc086b87739e9f22a9d64e92d2010bb7a9e3 # Parent ce9ca92103e02bfc874e8c026b267e6ba6b3a192 Add squirrelmail-html diff -r ce9ca92103e0 -r d431cc086b87 squirrelmail-html/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/squirrelmail-html/receipt Sun Aug 10 09:59:54 2008 +0000 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="squirrelmail-html" +VERSION="3.7a-1.4.x" +CATEGORY="network" +SHORT_DESC="HTML viewer plugin for Web mail." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="view_as_html" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.squirrelmail.org/" +DEPENDS="squirrelmail" +WGET_URL="${WEB_SITE}plugins/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/squirrelmail/plugins + cp -a $SOURCE $fs/usr/share/squirrelmail/plugins +} + +post_install() +{ + echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php +}