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