wok-next annotate squirrelmail-notes/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | c4e53a39395a |
children |
rev | line source |
---|---|
pascal@2256 | 1 # SliTaz package receipt. |
pascal@2256 | 2 |
pascal@2256 | 3 PACKAGE="squirrelmail-notes" |
pascal@2256 | 4 VERSION="1.2-1.4.0" |
pascal@2256 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="Notes creation plugin for Web mail" |
pascal@2256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15200 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://www.squirrelmail.org/" |
al@21020 | 10 |
pascal@2256 | 11 SOURCE="notes" |
pascal@2256 | 12 TARBALL="$SOURCE.$VERSION.tar.gz" |
pascal@2256 | 13 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@2256 | 14 |
al@21020 | 15 compile_rules() { |
al@21020 | 16 mkdir -p $install |
al@21020 | 17 cp -a $src $install/$SOURCE |
pascal@9036 | 18 } |
pascal@9036 | 19 |
al@21020 | 20 genpkg_rules() { |
pascal@2256 | 21 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail |
pascal@15200 | 22 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@2256 | 23 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ |
pascal@2256 | 24 $fs/etc/squirrelmail/config-$SOURCE.php |
pascal@2256 | 25 ln -s /etc/squirrelmail/config-$SOURCE.php \ |
pascal@2256 | 26 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php |
al@21020 | 27 DEPENDS="squirrelmail" |
al@21020 | 28 CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" |
pascal@2256 | 29 } |
pascal@2256 | 30 |
al@21020 | 31 post_install() { |
pascal@18730 | 32 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" |
pascal@2256 | 33 } |
pascal@2256 | 34 |
al@21020 | 35 pre_remove() { |
pascal@2256 | 36 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php |
pascal@2256 | 37 } |