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