xz: change to new library paths
[unleashed-userland.git] / components / mail / evolution / Makefile
blob001b2882348efbde7be9e0cd60c1578ab9c6d146
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2013 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= evolution
18 COMPONENT_VERSION= 2.32.3
19 COMPONENT_REVISION= 5
20 COMPONENT_PROJECT_URL= https://projects.gnome.org/evolution/
21 COMPONENT_SUMMARY= Evolution Email and Calendar
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:33ab38780e9abb71506230e331e9c3534444b5ed3f17046f0b6371a00df686fb
26 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
28 include $(WS_TOP)/make-rules/prep.mk
29 include $(WS_TOP)/make-rules/configure.mk
30 include $(WS_TOP)/make-rules/ips.mk
32 PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin
34 COMPONENT_PRE_CONFIGURE_ACTION = (cp -r $(SOURCE_DIR)/* $(@D) && \
35 cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
36 cd $(@D)/po-sun && $(MAKE) all &&\
37 cd $(@D) && glib-gettextize --force --copy &&\
38 intltoolize --force --copy --automake &&\
39 aclocal -I ./m4 &&\
40 autoheader &&\
41 automake -a -f -c --gnu &&\
42 autoconf )
44 CONFIGURE_SCRIPT= $(@D)/configure
46 gcc_OPT = -O2
48 LDFLAGS+= -L/usr/lib/mps -R/usr/lib/mps
49 LDFLAGS+= -lgmodule-2.0 -lgthread-2.0
51 CONFIGURE_OPTIONS+= --sysconfdir=/etc
52 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
53 CONFIGURE_OPTIONS+= --localstatedir=/var
54 CONFIGURE_OPTIONS+= --enable-nss=yes
55 CONFIGURE_OPTIONS+= --enable-smime=yes
56 CONFIGURE_OPTIONS+= --with-sunldap=/usr
57 CONFIGURE_OPTIONS+= --with-krb5=/usr
58 CONFIGURE_OPTIONS+= --disable-nm
59 CONFIGURE_OPTIONS+= --disable-pst-import
60 CONFIGURE_OPTIONS+= --disable-image-inline
62 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
64 # common targets
65 build: $(BUILD_32)
67 install: $(INSTALL_32)
69 test: $(NO_TESTS)
71 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
73 include $(WS_TOP)/make-rules/depend.mk