4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
27 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_NAME
= mlocate
30 COMPONENT_VERSION
= 0.26
32 COMPONENT_SUMMARY
= mlocate
- A utility for finding files by name quickly
33 COMPONENT_FMRI
= file
/mlocate
34 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
35 COMPONENT_PROJECT_URL
= https
://pagure.io
/mlocate
36 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
37 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
38 COMPONENT_ARCHIVE_HASH
= \
39 sha256
:3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e
40 COMPONENT_ARCHIVE_URL
= https
://releases.pagure.org
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
41 COMPONENT_LICENSE
= GPLv2
43 include $(WS_MAKE_RULES
)/common.mk
45 COMPONENT_PREP_ACTION
= (cd
$(@D
) ; autoreconf
-vif
)
46 COMPONENT_POST_INSTALL_ACTION
= \
47 @
$(MKDIR
) -p
$(PROTO_DIR
)/etc
/; \
48 $(CP
) files
/updatedb.conf
$(PROTO_DIR
)/etc
/
50 # Enable aslr for this component
51 ASLR_MODE
= $(ASLR_ENABLE
)
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= system
/library