Makefile revision 3817
883N/A#
883N/A# CDDL HEADER START
883N/A#
883N/A# The contents of this file are subject to the terms of the
883N/A# Common Development and Distribution License (the "License").
883N/A# You may not use this file except in compliance with the License.
883N/A#
883N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
883N/A# or http://www.opensolaris.org/os/licensing.
883N/A# See the License for the specific language governing permissions
883N/A# and limitations under the License.
883N/A#
883N/A# When distributing Covered Code, include this CDDL HEADER in each
883N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
883N/A# If applicable, add the following below this CDDL HEADER, with the
883N/A# fields enclosed by brackets "[]" replaced with your own identifying
883N/A# information: Portions Copyright [yyyy] [name of copyright owner]
883N/A#
883N/A# CDDL HEADER END
883N/A#
883N/A
883N/A#
883N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
883N/A#
883N/A
883N/Ainclude ../../make-rules/shared-macros.mk
883N/A
883N/ACOMPONENT_NAME= mlocate
883N/ACOMPONENT_VERSION= 0.25
883N/ACOMPONENT_PROJECT_URL= https://fedorahosted.org/mlocate
883N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
883N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
883N/ACOMPONENT_ARCHIVE_HASH= \
883N/A sha256:ab95c111f9dba35b5690896180dd0a7639dbf07d70b862fcb0731264d9273951
883N/ACOMPONENT_ARCHIVE_URL= https://fedorahosted.org/releases/m/l/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
883N/ACOMPONENT_BUGDB= utility/mlocate
883N/A
883N/ATPNO= 10233
883N/A
883N/Ainclude $(WS_MAKE_RULES)/prep.mk
883N/Ainclude $(WS_MAKE_RULES)/configure.mk
883N/Ainclude $(WS_MAKE_RULES)/ips.mk
883N/A
883N/ACONFIGURE_OPTIONS.64 += CC="$(CC) -m64"
883N/ACONFIGURE_OPTIONS += --localstatedir="/var/cache"
883N/ACONFIGURE_OPTIONS += --sysconfdir="/etc"
883N/A
883N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -f && automake)
883N/ACOMPONENT_POST_INSTALL_ACTION= \
883N/A @$(MKDIR) -p $(PROTO_DIR)/etc/; \
883N/A $(CP) files/updatedb.conf $(PROTO_DIR)/etc/
883N/A
883N/A# Enable aslr for this component
883N/AASLR_MODE = $(ASLR_ENABLE)
883N/A
883N/A# common targets
883N/Aconfigure: $(CONFIGURE_64)
883N/A
883N/Abuild: $(BUILD_64)
883N/A
883N/Ainstall: $(INSTALL_64)
883N/A
883N/Atest: $(NO_TESTS)
883N/A
883N/A
883N/AREQUIRED_PACKAGES += system/library
883N/A