wok-6.x view squirrelmail-calendard-file-backend/receipt @ rev 6612
Fixed giflib-dev, jpeg-dev, libpng-dev, tiff-dev, and zlib-dev. I made there wanted package be depends also since you need the .so files to compile things also most of the time.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 19:37:19 2010 +0000 (2010-10-09) |
parents | bbffc3ca182b |
children | f81e47267992 |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-calendard-file-backend"
4 VERSION="1.0-2.0"
5 CATEGORY="network"
6 SHORT_DESC="File-based backend for calendar data for Web mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="calendar_file_backend"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.squirrelmail.org/"
11 DEPENDS="squirrelmail"
12 WGET_URL="${WEB_SITE}plugins/$TARBALL"
13 PROVIDE="squirrelmail-calendard-backend"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/squirrelmail/plugins
19 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins
20 }
22 post_install()
23 {
24 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
25 }
27 pre_remove()
28 {
29 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
30 }