debian swirl logo

Back to the packages list evolution-data-server

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/buildvars.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk

DEB_SHLIBDEPS_INCLUDE += debian/tmp/usr/lib
DEB_DH_AUTORECONF_ARGS = --as-needed

LIBCAMEL := $(shell grep '^Package: libcamel-' debian/control | awk '{ print $$2 }')

DEB_DH_MAKESHLIBS_ARGS_ALL += -V
DEB_DH_MAKESHLIBS_ARGS_$(LIBCAMEL) = -V'$(LIBCAMEL) (>= $(DEB_GNOME_VERSION)), $(LIBCAMEL) (<< $(DEB_GNOME_NEXTVERSION))'

# We can't add -- -c4 above as libcamel will get "-V -- -c4 -V'...'" because
# it gets $(_ALL) first and then $(_libcamel). So use the env variable.
export DPKG_GENSYMBOLS_CHECK_LEVEL= 4

export DEB_LDFLAGS_MAINT_APPEND= -Wl,-z,defs -Wl,--as-needed -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS= hardening=+all
include /usr/share/dpkg/buildflags.mk

DEB_CONFIGURE_EXTRA_FLAGS += \
		--sysconfdir=/etc \
		--libexecdir=\$${prefix}/lib/evolution \
		--with-openldap \
		--with-krb5=/usr \
		--with-libdb=/usr \
		--enable-gtk \
		--enable-gtk-doc \
		--enable-goa \
		--enable-google \
		--enable-vala-bindings \
		--disable-uoa \
		$(NULL)

DEB_DH_MAKESHLIBS_ARGS_evolution-data-server += -Xusr/lib/evolution-data-server/
DEB_FIXPERMS_EXCLUDE_evolution-data-server += usr/lib/evolution/camel-lock-helper*

binary-install/evolution-data-server::
		chgrp mail $(CURDIR)/debian/evolution-data-server/usr/lib/evolution/camel-lock-helper*
		chmod g+s $(CURDIR)/debian/evolution-data-server/usr/lib/evolution/camel-lock-helper*
		chrpath -d -k $(CURDIR)/debian/evolution-data-server/usr/lib/evolution-data-server/*/*.so \
			$(CURDIR)/debian/evolution-data-server/usr/lib/evolution/camel*1.2
		rm $(CURDIR)/debian/tmp/usr/lib/evolution-data-server/*/*.la
		rm $(CURDIR)/debian/tmp/usr/lib/*.la

common-binary-post-install-arch:: list-missing

Builds:

evolution-data-server-common
architecture independent files for evolution data server
evolution-data-server-dbg
evolution database backend server with debugging symbols
evolution-data-server-dev
development files for evolution-data-server (metapackage)
evolution-data-server-doc
documentation files for the evolution data server libraries
evolution-data-server
evolution database backend server
gir1.2-ebook-1.2
gobject introspection for the ebook library
gir1.2-ebookcontacts-1.2
gobject introspection for the ebook contacts library
gir1.2-edataserver-1.2
gobject introspection for the edataserver library
libcamel-1.2-49
evolution mime message handling library
libcamel1.2-dev
development files for libcamel
libebackend-1.2-7
utility library for evolution data servers
libebackend1.2-dev
utility library for evolution data servers (development files)
libebook-1.2-14
client library for evolution address books
libebook1.2-dev
client library for evolution address books (development files)
libebook-contacts-1.2-0
client library for evolution contacts books
libebook-contacts1.2-dev
client library for evolution contacts books (development files)
libecal-1.2-16
client library for evolution calendars
libecal1.2-dev
client library for evolution calendars (development files)
libedata-book-1.2-20
backend library for evolution address books
libedata-book1.2-dev
backend library for evolution address books (development files)
libedata-cal-1.2-23
backend library for evolution calendars
libedata-cal1.2-dev
backend library for evolution calendars (development files)
libedataserver-1.2-18
utility library for evolution data servers
libedataserver1.2-dev
utility library for evolution data servers (development files)
evolution-data-server-common
architecture independent files for evolution data server
evolution-data-server-dbg
evolution database backend server with debugging symbols
evolution-data-server-dev
development files for evolution-data-server (metapackage)
evolution-data-server-doc
documentation files for the evolution data server libraries
evolution-data-server
evolution database backend server
gir1.2-ebook-1.2
gobject introspection for the ebook library
gir1.2-ebookcontacts-1.2
gobject introspection for the ebook contacts library
gir1.2-edataserver-1.2
gobject introspection for the edataserver library
libcamel-1.2-49
evolution mime message handling library
libcamel1.2-dev
development files for libcamel
libebackend-1.2-7
utility library for evolution data servers
libebackend1.2-dev
utility library for evolution data servers (development files)
libebook-1.2-14
client library for evolution address books
libebook1.2-dev
client library for evolution address books (development files)
libebook-contacts-1.2-0
client library for evolution contacts books
libebook-contacts1.2-dev
client library for evolution contacts books (development files)
libecal-1.2-16
client library for evolution calendars
libecal1.2-dev
client library for evolution calendars (development files)
libedata-book-1.2-20
backend library for evolution address books
libedata-book1.2-dev
backend library for evolution address books (development files)
libedata-cal-1.2-23
backend library for evolution calendars
libedata-cal1.2-dev
backend library for evolution calendars (development files)
libedataserver-1.2-18
utility library for evolution data servers
libedataserver1.2-dev
utility library for evolution data servers (development files)