
Receipt for package "squirrelmail-html"
# SliTaz package receipt. PACKAGE="squirrelmail-html" VERSION="3.8" CATEGORY="network" SHORT_DESC="HTML viewer plugin for squirrelmail." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.squirrelmail.org/" SOURCE="view_as_html" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}plugins/$TARBALL" DEPENDS="squirrelmail" HOST_ARCH="any" current_version() { wget -O - "$WEB_SITE/plugin_view.php?id=55" 2>/dev/null | \ sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" } # Rules to configure and make the package. compile_rules() { mkdir -p $DESTDIR cp -a $src $DESTDIR/$SOURCE } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/squirrelmail/plugins cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins chown -R 80 $fs/usr/share/squirrelmail } post_install() { echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" } pre_remove() { sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php }
6011 packages and 861670 files in cooking database (Fri May 9 08:56:28 2025)