wok-current annotate squirrelmail-sizes/receipt @ rev 24574
updated fribidi and fribidi-dev (1.0.8 -> 1.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 07:58:48 2022 +0100 (2022-02-27) |
parents | 9e01bc6321ea |
children | cb67b4f8be05 |
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@24094 | 17 current_version() |
pascal@24094 | 18 { |
pascal@24094 | 19 wget -O - "$WEB_SITE/plugin_view.php?id=87" 2>/dev/null | \ |
pascal@24094 | 20 sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" |
pascal@24094 | 21 } |
pascal@24094 | 22 |
pascal@9036 | 23 # Rules to configure and make the package. |
pascal@9036 | 24 compile_rules() |
pascal@9036 | 25 { |
pascal@9037 | 26 mkdir -p $DESTDIR |
pascal@9036 | 27 cp -a $src $DESTDIR/$SOURCE |
pascal@9036 | 28 } |
pascal@9036 | 29 |
pascal@1226 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1226 | 31 genpkg_rules() |
pascal@1226 | 32 { |
pascal@1226 | 33 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@15200 | 34 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@1226 | 35 } |
pascal@1226 | 36 |
pascal@1226 | 37 post_install() |
pascal@1226 | 38 { |
pascal@18730 | 39 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" |
pascal@1226 | 40 } |
pascal@2245 | 41 |
pascal@2260 | 42 pre_remove() |
pascal@2245 | 43 { |
pascal@2245 | 44 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php |
pascal@2245 | 45 } |