shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / top / Makefile
blob64e1c7ddcc2f77a2e8615c12e4426ecaf04367e9
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2018, Michal Nowak
25 BUILD_BITS= 64
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= top
30 COMPONENT_VERSION= 3.8beta1
31 IPS_COMPONENT_VERSION = 3.8
32 HUMAN_VERSION= $(COMPONENT_VERSION)
33 COMPONENT_SUMMARY= provides a rolling display of top cpu using processes
34 COMPONENT_PROJECT_URL= https://sourceforge.net/projects/unixtop/
35 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
37 COMPONENT_ARCHIVE_HASH= sha256:6c683e9cb092078cbc1b2233b15fa8bd3d35a00874e6ba27cf54370d1d64fa4d
38 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/unixtop/files/unixtop/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
39 COMPONENT_CLASSIFICATION= Applications/System Utilities
40 COMPONENT_FMRI= diagnostic/top
41 COMPONENT_LICENSE= BSD, Apache v2.0
43 TEST_TARGET= $(NO_TESTS)
44 include $(WS_MAKE_RULES)/common.mk
46 # viewpathing support in the build is broken in the 'install' target
47 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
49 CONFIGURE_OPTIONS += --disable-dualarch
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/math