wok-stable annotate squirrelmail-smallcal/receipt @ rev 9244
Add glibc-locale to abiword depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 12 17:16:42 2011 +0000 (2011-03-12) |
parents | ff4c00ab546f |
children |
rev | line source |
---|---|
pascal@1228 | 1 # SliTaz package receipt. |
pascal@1228 | 2 |
pascal@1228 | 3 PACKAGE="squirrelmail-smallcal" |
pascal@1228 | 4 VERSION="0.8-1.2.3" |
pascal@1228 | 5 CATEGORY="network" |
pascal@1228 | 6 SHORT_DESC="Left side calendar plugin for Web mail." |
pascal@1228 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1228 | 8 SOURCE="smallcal" |
pascal@1228 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1228 | 10 WEB_SITE="http://www.squirrelmail.org/" |
pascal@1228 | 11 DEPENDS="squirrelmail squirrelmail-compatibility-plugin" |
pascal@1228 | 12 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@1228 | 13 |
pascal@9069 | 14 # Rules to configure and make the package. |
pascal@9069 | 15 compile_rules() |
pascal@9069 | 16 { |
pascal@9069 | 17 mkdir -p $DESTDIR |
pascal@9069 | 18 cp -a $src $DESTDIR/$SOURCE |
pascal@9069 | 19 } |
pascal@9069 | 20 |
pascal@1228 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1228 | 22 genpkg_rules() |
pascal@1228 | 23 { |
pascal@1228 | 24 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@9069 | 25 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@1228 | 26 } |
pascal@1228 | 27 |
pascal@1228 | 28 post_install() |
pascal@1228 | 29 { |
pascal@1228 | 30 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php |
pascal@1228 | 31 cat <<EOF |
pascal@1228 | 32 You can enable calendar display in Option -> Display Preferences |
pascal@1228 | 33 EOF |
pascal@1228 | 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 } |