components/desktop/dbus/Makefile
changeset 5888 09b82e3ff500
child 6036 36742f94998f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/dbus/Makefile	Fri Apr 29 14:55:13 2016 -0700
@@ -0,0 +1,62 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+BUILD_BITS =            64_and_32
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		dbus
+COMPONENT_VERSION=	1.10.0
+COMPONENT_PROJECT_URL=	http://dbus.freedesktop.org
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH= \
+    sha256:1dfb9745fb992f1ccd43c920490de8caddf6726a6222e8b803be6098293f924b
+COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB=	library/dbus
+
+TPNO=			25522
+
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+include $(WS_MAKE_RULES)/common.mk
+
+# Needed for "gmake test" to work successfully.
+unexport SHELLOPTS
+
+# Will break parallel 32/64-bit builds; needs update when that happens.
+CONFIGURE_BINDIR.32 =   $(CONFIGURE_PREFIX)/bin
+
+CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)
+CONFIGURE_OPTIONS +=	--with-dbus-daemondir=$(USRLIBDIR)
+CONFIGURE_OPTIONS +=	--with-dbus-user=root
+CONFIGURE_OPTIONS +=	--libexecdir=$(USRLIBDIR)
+CONFIGURE_OPTIONS +=	--localstatedir=$(VARDIR)
+CONFIGURE_OPTIONS +=	--disable-static
+
+ASLR_MODE = $(ASLR_ENABLE)
+
+REQUIRED_PACKAGES += developer/documentation-tool/doxygen
+REQUIRED_PACKAGES += developer/documentation-tool/xmlto
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += x11/library/libx11