wok annotate squirrelmail-sizes/receipt @ rev 20732
updated awstats (7.0 -> 7.7)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 09 16:21:15 2019 +0100 (2019-02-09) |
parents | d51b2411e55e |
children | 46dcc80bef41 |
rev | line source |
---|---|
pascal@1226 | 1 # SliTaz package receipt. |
pascal@1226 | 2 |
pascal@1226 | 3 PACKAGE="squirrelmail-sizes" |
pascal@1226 | 4 VERSION="1.5-1.4.0" |
pascal@1226 | 5 CATEGORY="network" |
pascal@1226 | 6 SHORT_DESC="Folder sizes plugin for Web mail." |
pascal@1226 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15200 | 8 LICENSE="GPL2" |
pascal@1226 | 9 SOURCE="folder_sizes" |
pascal@1226 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1226 | 11 WEB_SITE="http://www.squirrelmail.org/" |
pascal@15200 | 12 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@16264 | 13 HOST_ARCH="any" |
pascal@15200 | 14 |
pascal@1226 | 15 DEPENDS="squirrelmail" |
pascal@1226 | 16 |
pascal@9036 | 17 # Rules to configure and make the package. |
pascal@9036 | 18 compile_rules() |
pascal@9036 | 19 { |
pascal@9037 | 20 mkdir -p $DESTDIR |
pascal@9036 | 21 cp -a $src $DESTDIR/$SOURCE |
pascal@9036 | 22 } |
pascal@9036 | 23 |
pascal@1226 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1226 | 25 genpkg_rules() |
pascal@1226 | 26 { |
pascal@1226 | 27 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@15200 | 28 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@1226 | 29 } |
pascal@1226 | 30 |
pascal@1226 | 31 post_install() |
pascal@1226 | 32 { |
pascal@18730 | 33 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" |
pascal@1226 | 34 } |
pascal@2245 | 35 |
pascal@2260 | 36 pre_remove() |
pascal@2245 | 37 { |
pascal@2245 | 38 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php |
pascal@2245 | 39 } |