1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/autoreconf.mk
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/gnome-pkg-tools/1/rules/gnome-get-source.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
ELIBDIR := usr/lib/evolution/3.12
DEB_DH_AUTORECONF_ARGS := --as-needed
DEB_SHLIBDEPS_INCLUDE := debian/evolution/$(ELIBDIR)
DEB_DH_MAKESHLIBS_ARGS_libevolution += -V'libevolution (>= $(DEB_GNOME_VERSION)), libevolution (<< $(DEB_GNOME_NEXTVERSION))' --noscripts -X $(ELIBDIR)/modules
DEB_DH_MAKESHLIBS_ARGS_evolution += -V
DEB_DH_MAKESHLIBS_ARGS_ALL += --noscripts -X $(ELIBDIR)/plugins
DEB_DH_INSTALL_ARGS := --fail-missing -X.la
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_REVISION := $(shell echo $(DEB_VERSION) | awk -F- '{ print $$NF }')
DEB_CONFIGURE_EXTRA_FLAGS += \
--with-openldap \
--enable-nls \
--with-krb5=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--enable-plugins=all \
--enable-pst-import \
--enable-python \
--enable-contact-maps \
--disable-image-inline \
--with-clutter \
--with-sub-version=-$(DEB_REVISION)
ifneq ($(DEB_HOST_ARCH_OS), linux)
DEB_CONFIGURE_EXTRA_FLAGS+=--disable-nm
else
DEB_CONFIGURE_EXTRA_FLAGS+=--enable-nm
endif
clean::
debconf-updatepo
find -name '*.schemas' | xargs rm -f
common-binary-post-install-arch:: list-missing
|