wok-6.x annotate squirrelmail-sizes/receipt @ rev 1332
Add setuptools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 11:00:49 2008 +0000 (2008-08-31) |
parents | |
children | cb2efee225ba |
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@1226 | 8 SOURCE="folder_sizes" |
pascal@1226 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1226 | 10 WEB_SITE="http://www.squirrelmail.org/" |
pascal@1226 | 11 DEPENDS="squirrelmail" |
pascal@1226 | 12 WGET_URL="${WEB_SITE}plugins/$TARBALL" |
pascal@1226 | 13 |
pascal@1226 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1226 | 15 genpkg_rules() |
pascal@1226 | 16 { |
pascal@1226 | 17 mkdir -p $fs/usr/share/squirrelmail/plugins |
pascal@1226 | 18 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins |
pascal@1226 | 19 } |
pascal@1226 | 20 |
pascal@1226 | 21 post_install() |
pascal@1226 | 22 { |
pascal@1226 | 23 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php |
pascal@1226 | 24 } |