wok view evolution-data-server/receipt @ rev 24061
Add lz4ultra
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 12 09:05:17 2021 +0000 (2021-06-12) |
parents | 91e30acbe640 |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="evolution-data-server"
4 VERSION="2.28.1"
5 CATEGORY="network"
6 SHORT_DESC="Integrated mail, addressbook and calendaring, server."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/evolution/download.shtml"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL"
13 DEPENDS="libgnomeui libsoup"
14 BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev ORBit2-dev libbonobo-dev \
15 GConf-dev libical-dev firefox-dev db-dev libxcb-dev popt-dev bison flex \
16 glib-dev sqlite-dev dbus-glib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|\([idt].*\)->is_utc = \(.*\);|icaltime_set_timezone(\1,\2 ? icaltimezone_get_utc_timezone() : NULL);|' \
22 calendar/libecal/e-cal-*.c
23 sed -i 's|\([idt].*\)\.is_utc = \(.*\);|icaltime_set_timezone(\&\1,\2 ? icaltimezone_get_utc_timezone() : NULL);|' \
24 calendar/libecal/e-cal-*.c
25 sed -i 's|dt->value->is_utc)$|icaltime_is_utc(*dt->value))|' \
26 calendar/libecal/e-cal-component.c
27 sed -i -e 's|buf->buffer->content|xmlOutputBufferGetContent(buf)|' \
28 -e 's|buf->conv->content|xmlBufferContent(buf->conv)|' \
29 -e 's|buf->buffer->use|xmlOutputBufferGetSize(buf)|' \
30 servers/google/libgdata/gdata-entry.c \
31 calendar/backends/caldav/e-cal-backend-caldav.c
32 sed -i 's|icaltime_from_timet\([ (].*\))|icaltime_from_timet_with_zone\1, NULL)|' \
33 calendar/libecal/e-cal*.c
34 sed -i 's|ret.is_utc = FALSE|icaltime_set_timezone(\&ret,NULL)|' \
35 calendar/backends/contacts/e-cal-backend-contacts.c
36 sed -i 's|itt.is_utc = itt_u->is_utc|icaltime_set_timezone(\&itt,icaltime_is_utc(*itt_u) ? icaltimezone_get_utc_timezone() : NULL)|' \
37 calendar/backends/google/e-cal-backend-google-utils.c
38 sed -i 's|icalproperty_remove_parameter|&_by_kind|' \
39 calendar/backends/groupwise/e-cal-backend-groupwise-utils.c \
40 calendar/libecal/e-cal-component.c
41 ./configure \
42 --prefix=/usr \
43 --infodir=/usr/share/info \
44 --libexecdir=/usr/lib/evolution-data-server-1.2 \
45 --mandir=/usr/share/man \
46 --without-weather \
47 --enable-ipv6=no \
48 --enable-libdb \
49 --with-db=/usr/lib \
50 --with-nspr-include=/usr/include/firefox-3.5.3/stable \
51 --with-nspr-libs=/usr/lib/firefox-devel-3.5.3/sdk/lib \
52 $CONFIGURE_ARGS &&
53 make && make DESTDIR=$DESTDIR install
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/usr/lib $fs/usr/share
61 cp -a $install/usr/share/pixmaps $fs/usr/share
62 cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
63 cp -a $install/usr/share/idl $fs/usr/share
65 cp -a $install/usr/lib/bonobo $fs/usr/lib
66 cp -a $install/usr/lib/*.so* $fs/usr/lib
67 cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
69 # Clean unwated files
70 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
72 # Stripping all
73 find . -name "*.so" -exec strip -s {} \;
75 }