6200N/A#
6200N/A# CDDL HEADER START
6200N/A#
6200N/A# The contents of this file are subject to the terms of the
6200N/A# Common Development and Distribution License (the "License").
6200N/A# You may not use this file except in compliance with the License.
6200N/A#
6200N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6200N/A# or http://www.opensolaris.org/os/licensing.
6200N/A# See the License for the specific language governing permissions
6200N/A# and limitations under the License.
6200N/A#
6200N/A# When distributing Covered Code, include this CDDL HEADER in each
6200N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6200N/A# If applicable, add the following below this CDDL HEADER, with the
6200N/A# fields enclosed by brackets "[]" replaced with your own identifying
6200N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6200N/A#
6200N/A# CDDL HEADER END
6200N/A#
6200N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6200N/A#
6200N/A
6200N/ABUILD_BITS = 64_and_32
6200N/ACOMPILER = gcc
6200N/Ainclude ../../../make-rules/shared-macros.mk
6200N/A
6200N/ACOMPONENT_NAME= telepathy-logger
6200N/ACOMPONENT_VERSION= 0.8.2
6200N/ACOMPONENT_PROJECT_URL= http://telepathy.freedesktop.org
6200N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6200N/ACOMPONENT_ARCHIVE_HASH= \
6200N/A sha256:8fcad534d653b1b365132c5b158adae947810ffbae9843f72dd1797966415dae
6200N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6200N/ACOMPONENT_BUGDB= gnome/libraries
6200N/A
6200N/ATPNO= 25836
6200N/A
6200N/A# Needs telepathy-glib, not available on S11.
6200N/Aifeq ($(BUILD_TYPE), evaluation)
6200N/ABUILD_32_and_64=
6200N/AINSTALL_32_and_64=
6200N/APUBLISH_STAMP=
6200N/Aendif
6200N/A
6200N/A# Not compiled as an xpg6 application, but configure defines this, so we
6200N/A# override and undefine it to avoid feature_tests.h failures; unclear what the
6200N/A# correct fix is.
6200N/ACFLAGS += -U_POSIX_SOURCE
6200N/ACFLAGS += $(XPG6MODE)
6200N/A
6200N/Ainclude $(WS_MAKE_RULES)/common.mk
6200N/A
6200N/ACONFIGURE_OPTIONS += --disable-static
6200N/A# Required for other components.
6200N/ACONFIGURE_OPTIONS += --enable-introspection
6200N/ACONFIGURE_OPTIONS += --enable-shared
6200N/ACONFIGURE_OPTIONS += --with-pic
6200N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
6200N/A
6200N/A# Tell g-ir-scanner not to cache results in homedir of user running the build
6200N/ACOMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=""
6200N/A
6200N/A# Assumes GNU xgettext in PATH
6200N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6200N/A
6200N/A# for the tests
6200N/Aunexport SHELLOPTS
6200N/ACOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
6200N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6200N/ACOMPONENT_TEST_ARGS = -k -i
6200N/ACOMPONENT_TEST_TRANSFORMS += \
6200N/A '-n ' \
6200N/A '-e "/TOTAL:/p" ' \
6200N/A '-e "/SKIP:/p" ' \
6200N/A '-e "/PASS:/p" ' \
6200N/A '-e "/FAIL:/p" ' \
6200N/A '-e "/ERROR:/p" '
6200N/A
6200N/AREQUIRED_PACKAGES += database/sqlite-3
6200N/AREQUIRED_PACKAGES += library/glib2
6200N/AREQUIRED_PACKAGES += library/libxml2
6200N/AREQUIRED_PACKAGES += library/telepathy-glib
6200N/AREQUIRED_PACKAGES += system/library/libdbus
6200N/AREQUIRED_PACKAGES += system/library/libdbus-glib