353N/A#
353N/A# CDDL HEADER START
353N/A#
353N/A# The contents of this file are subject to the terms of the
353N/A# Common Development and Distribution License (the "License").
353N/A# You may not use this file except in compliance with the License.
353N/A#
353N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
353N/A# or http://www.opensolaris.org/os/licensing.
353N/A# See the License for the specific language governing permissions
353N/A# and limitations under the License.
353N/A#
353N/A# When distributing Covered Code, include this CDDL HEADER in each
353N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
353N/A# If applicable, add the following below this CDDL HEADER, with the
353N/A# fields enclosed by brackets "[]" replaced with your own identifying
353N/A# information: Portions Copyright [yyyy] [name of copyright owner]
353N/A#
353N/A# CDDL HEADER END
353N/A#
353N/A
353N/A#
3763N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
353N/A#
353N/A
353N/Ainclude ../../make-rules/shared-macros.mk
353N/A
2695N/A# for ginstall and tail -n
2695N/APATH=/usr/gnu/bin:/usr/bin
353N/A
353N/ACOMPONENT_NAME= ejabberd
2695N/ACOMPONENT_VERSION= 2.1.13
618N/ACOMPONENT_PROJECT_URL= http://www.ejabberd.im/
353N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2695N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
844N/ACOMPONENT_ARCHIVE_HASH= \
2695N/A sha256:a80d1c72e435da31758261cb0c04fe750ac71fc3e33a3b606123efd3b3abc86d
353N/ACOMPONENT_ARCHIVE_URL= http://www.process-one.net/downloads/ejabberd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1298N/ACOMPONENT_BUGDB= service/ejabberd
3763N/ATPNO= 21408
353N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
353N/A
353N/A
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
353N/A
4411N/ACOMPONENT_PREP_ACTION = \
4411N/A (cd $(@D)/src ; PATH=$(PATH) $(AUTORECONF) -fiv)
4411N/A
2695N/ACONFIGURE_SCRIPT = $(SOURCE_DIR)/src/configure
2695N/ABUILD_DIR_64 = $(BUILD_DIR)/$(MACH64)/src
4411N/A$(BUILD_DIR_64)/.configured: BITS=64
4411N/A$(BUILD_DIR_64)/.built: BITS=64
4411N/A$(BUILD_DIR_64)/.installed: BITS=64
2695N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
2695N/A ($(CLONEY) $(SOURCE_DIR) $(BUILD_DIR)/$(MACH64))
353N/A
4411N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)
4411N/ACONFIGURE_SBINDIR.64 = $(CONFIGURE_SBINDIR.32)
4411N/A
353N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
353N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
353N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
353N/ACONFIGURE_OPTIONS += --with-erlang=$(USRBINDIR)
353N/ACONFIGURE_OPTIONS += --localstatedir=/var
2695N/ACONFIGURE_OPTIONS += --enable-odbc
353N/A
2695N/ACOMPONENT_BUILD_TARGETS = all
2695N/A
353N/A
2695N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
353N/A
2695N/Abuild: $(BUILD_64)
353N/A
2695N/Ainstall: $(INSTALL_64)
353N/A
353N/Atest: $(NO_TESTS)
353N/A
353N/A
3996N/AREQUIRED_PACKAGES += library/expat
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/network