wok-stable view squirrelmail-bookmarks/receipt @ rev 2540

ruby: typo in file name
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 22 20:18:34 2009 +0100 (2009-03-22)
parents 427c4c30e1c4
children f81e47267992
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-bookmarks"
4 VERSION="2.0.3-1.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Store and manage favorites lists within the Squirrelmail interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="bookmarks"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.squirrelmail.org/"
11 DEPENDS="squirrelmail"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 CONFIG_FILES="/etc/squirrelmail/bookmarks_data.php"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail
19 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
20 rm -f $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php
21 ln -s /usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data_text.php \
22 $fs/etc/squirrelmail/bookmarks_data.php
23 ln -s /etc/squirrelmail/bookmarks_data.php \
24 $fs/usr/share/squirrelmail/plugins/$SOURCE/bookmarks_data.php
25 }
27 post_install()
28 {
29 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
30 }
32 pre_remove()
33 {
34 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
35 }