wok-next annotate squirrelmail-legend/receipt @ rev 14609
Up: python to 2.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 31 20:37:08 2013 +0000 (2013-05-31) |
parents | f81e47267992 |
children | b13ed9740841 |
rev | line source |
---|---|
pascal@2254 | 1 # SliTaz package receipt. |
pascal@2254 | 2 |
pascal@2254 | 3 PACKAGE="squirrelmail-legend" |
pascal@2254 | 4 VERSION="1.2-1.2.8" |
pascal@2254 | 5 CATEGORY="network" |
pascal@2254 | 6 SHORT_DESC="Adds a legend below the folder list in Web mail." |
pascal@2254 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2254 | 8 SOURCE="legend" |
pascal@2254 | 9 TARBALL="$SOURCE.$VERSION.tar.gz" |
pascal@2254 | 10 WEB_SITE="http://www.squirrelmail.org/" |
pascal@2254 | 11 DEPENDS="squirrelmail" |
pascal@2254 | 12 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@2254 | 13 |
pascal@9036 | 14 # Rules to configure and make the package. |
pascal@9036 | 15 compile_rules() |
pascal@9036 | 16 { |
pascal@9037 | 17 mkdir -p $DESTDIR |
pascal@9036 | 18 cp -a $src $DESTDIR/$SOURCE |
pascal@9036 | 19 } |
pascal@9036 | 20 |
pascal@2254 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2254 | 22 genpkg_rules() |
pascal@2254 | 23 { |
pascal@2254 | 24 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@9036 | 25 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@2254 | 26 } |
pascal@2254 | 27 |
pascal@2254 | 28 post_install() |
pascal@2254 | 29 { |
pascal@2254 | 30 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php |
pascal@2254 | 31 } |
pascal@2254 | 32 |
pascal@2260 | 33 pre_remove() |
pascal@2254 | 34 { |
pascal@2254 | 35 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php |
pascal@2254 | 36 } |