209N/A#
209N/A# CDDL HEADER START
209N/A#
209N/A# The contents of this file are subject to the terms of the
209N/A# Common Development and Distribution License (the "License").
209N/A# You may not use this file except in compliance with the License.
209N/A#
209N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
209N/A# or http://www.opensolaris.org/os/licensing.
209N/A# See the License for the specific language governing permissions
209N/A# and limitations under the License.
209N/A#
209N/A# When distributing Covered Code, include this CDDL HEADER in each
209N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
209N/A# If applicable, add the following below this CDDL HEADER, with the
209N/A# fields enclosed by brackets "[]" replaced with your own identifying
209N/A# information: Portions Copyright [yyyy] [name of copyright owner]
209N/A#
209N/A# CDDL HEADER END
209N/A#
209N/A
209N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
209N/A#
5680N/ABUILD_BITS= 64_and_32
209N/Ainclude ../../make-rules/shared-macros.mk
209N/A
209N/ACOMPONENT_NAME= libevent
5919N/ACOMPONENT_VERSION= 2.0.22
618N/ACOMPONENT_PROJECT_URL= http://monkey.org/~provos/libevent/
611N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
844N/ACOMPONENT_ARCHIVE_HASH= \
5919N/A sha256:71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
5919N/ACOMPONENT_ARCHIVE_URL= http://github.com/libevent/libevent/releases/download/release-$(COMPONENT_VERSION)-stable/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/libevent
209N/A
5919N/ATPNO= 27840
2899N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
209N/A
209N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
209N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
209N/A
5680N/A# The original manpage is in a format that the Solaris man command does not
5680N/A# understand. Hence it has been manually converted.
209N/A#
5680N/A# List of files from the original package that are not being delivered
5680N/A#
5680N/A# /usr/bin/event_rpcgen.py
209N/A
5919N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
611N/ACONFIGURE_OPTIONS += --disable-static
209N/A
3750N/ACOMPONENT_TEST_TARGETS = verify
3750N/A
3750N/A# \x24 represents the character '$'
3750N/ACOMPONENT_TEST_TRANSFORMS += \
3750N/A '-e "s/^type: .* OKAY\x24/TYPE-COUNT-LINE OKAY/" '
3750N/A
3750N/A# Master test results are the same for 32-bit and 64-bit, so override
3750N/A# here, rather than create multiple identical master files.
3750N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5919N/ACOMPONENT_TEST_TRANSFORMS += \
5919N/A '-e "/cp test.sh test-script.sh/d" '
5919N/A
5919N/AREQUIRED_PACKAGES += library/security/openssl
5919N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
5919N/AREQUIRED_PACKAGES += runtime/python-27
5919N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime