xz: change to new library paths
[unleashed-userland.git] / components / goffice / Makefile
blob66ddda176f629a219ef33070ef413264aa174cbc
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) 2014 Alexander Pyhalov
15 include ../../make-rules/shared-macros.mk
17 COMPONENT_NAME= goffice
18 COMPONENT_VERSION= 0.8.17
19 COMPONENT_REVISION= 1
20 COMPONENT_PROJECT_URL= http://www.gnome.org
21 COMPONENT_SUMMARY= goffice - Document centric set of APIs
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:dd8caef5fefffbc53938fa619de9f58e7c4dc71a1803de134065d42138a68c06
26 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/0.8/$(COMPONENT_ARCHIVE)
27 COMPONENT_CLASSIFICATION= Development/System
28 COMPONENT_LICENSE= GPLv2
29 COMPONENT_LICENSE_FILE= COPYING
30 COMPONENT_FMRI= library/desktop/goffice
32 include $(WS_TOP)/make-rules/prep.mk
33 include $(WS_TOP)/make-rules/configure.mk
34 include $(WS_TOP)/make-rules/ips.mk
36 PATH=/usr/gnu/bin:/usr/bin
38 COMPONENT_PREP_ACTION = ( cd $(@D) && \
39 libtoolize --copy --force &&\
40 aclocal -I . &&\
41 automake -c -f -a &&\
42 autoconf )
44 CONFIGURE_OPTIONS+= --sysconfdir=/etc
45 CONFIGURE_OPTIONS+= --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
47 CONFIGURE_ENV+= PYTHON=$(PYTHON)
49 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
51 # common targets
52 build: $(BUILD_32)
54 install: $(INSTALL_32)
56 test: $(NO_TESTS)
58 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
60 include $(WS_TOP)/make-rules/depend.mk