wok-current view evolution-data-server/receipt @ rev 24458
updated gnustep-gui and gnustep-gui-dev again (0.27.0 -> 0.29.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 09:58:13 2022 +0100 (2022-02-16) |
parents | 7bee98929640 |
children |
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 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|\([idt].*\)->is_utc = \(.*\);|icaltime_set_timezone(\1,\2 ? icaltimezone_get_utc_timezone() : NULL);|' \
28 calendar/libecal/e-cal-*.c
29 sed -i 's|\([idt].*\)\.is_utc = \(.*\);|icaltime_set_timezone(\&\1,\2 ? icaltimezone_get_utc_timezone() : NULL);|' \
30 calendar/libecal/e-cal-*.c
31 sed -i 's|dt->value->is_utc)$|icaltime_is_utc(*dt->value))|' \
32 calendar/libecal/e-cal-component.c
33 sed -i -e 's|buf->buffer->content|xmlOutputBufferGetContent(buf)|' \
34 -e 's|buf->conv->content|xmlBufferContent(buf->conv)|' \
35 -e 's|buf->buffer->use|xmlOutputBufferGetSize(buf)|' \
36 servers/google/libgdata/gdata-entry.c \
37 calendar/backends/caldav/e-cal-backend-caldav.c
38 sed -i 's|icaltime_from_timet\([ (].*\))|icaltime_from_timet_with_zone\1, NULL)|' \
39 calendar/libecal/e-cal*.c
40 sed -i 's|ret.is_utc = FALSE|icaltime_set_timezone(\&ret,NULL)|' \
41 calendar/backends/contacts/e-cal-backend-contacts.c
42 sed -i 's|itt.is_utc = itt_u->is_utc|icaltime_set_timezone(\&itt,icaltime_is_utc(*itt_u) ? icaltimezone_get_utc_timezone() : NULL)|' \
43 calendar/backends/google/e-cal-backend-google-utils.c
44 sed -i 's|icalproperty_remove_parameter|&_by_kind|' \
45 calendar/backends/groupwise/e-cal-backend-groupwise-utils.c \
46 calendar/libecal/e-cal-component.c
47 ./configure \
48 --prefix=/usr \
49 --infodir=/usr/share/info \
50 --libexecdir=/usr/lib/evolution-data-server-1.2 \
51 --mandir=/usr/share/man \
52 --without-weather \
53 --enable-ipv6=no \
54 --enable-libdb \
55 --with-db=/usr/lib \
56 --with-nspr-include=/usr/include/firefox-3.5.3/stable \
57 --with-nspr-libs=/usr/lib/firefox-devel-3.5.3/sdk/lib \
58 $CONFIGURE_ARGS &&
59 make && make DESTDIR=$DESTDIR install
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 mkdir -p $fs/usr/lib $fs/usr/share
67 cp -a $install/usr/share/pixmaps $fs/usr/share
68 cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
69 cp -a $install/usr/share/idl $fs/usr/share
71 cp -a $install/usr/lib/bonobo $fs/usr/lib
72 cp -a $install/usr/lib/*.so* $fs/usr/lib
73 cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
75 # Clean unwated files
76 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
78 # Stripping all
79 find . -name "*.so" -exec strip -s {} \;
81 }