openexr: make architecture independent
[oi-userland.git] / components / library / dbus-glib / Makefile
blob5dbfa976cbac5cf65393a96f88bb1697b4e58a58
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 2015 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
16 BUILD_BITS= 64_and_32
17 USE_DEFAULT_TEST_TRANSFORMS= yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= dbus-glib
21 COMPONENT_VERSION= 0.112
22 COMPONENT_REVISION= 3
23 COMPONENT_PROJECT_URL= https://dbus.freedesktop.org/doc/dbus-glib/
24 COMPONENT_SUMMARY= D-Bus GLib bindings
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a
28 COMPONENT_ARCHIVE_URL= https://dbus.freedesktop.org/releases/dbus-glib/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= system/library/libdbus-glib
30 COMPONENT_CLASSIFICATION=System/Libraries
31 COMPONENT_LICENSE= GPLv2,AFLv2.1
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 PATH=$(PATH.gnu)
38 CONFIGURE_OPTIONS+= --sysconfdir=/etc
39 CONFIGURE_OPTIONS+= --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
40 CONFIGURE_OPTIONS+= --localstatedir=/var
41 CONFIGURE_OPTIONS+= --disable-static
42 CONFIGURE_ENV+= GLIB_GENMARSHAL=/usr/bin/glib-genmarshal
44 # For tests to pass
45 unexport SHELLOPTS
47 COMPONENT_TEST_TRANSFORMS += \
48 ' -e "/===/p" ' \
49 ' -e "/Testsuite/p" '
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += library/expat
53 REQUIRED_PACKAGES += library/glib2
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/libdbus