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 2018, Aurelien Larcher
24 # Copyright 2020, Michal Nowak
25 # Copyright 2020, 2024 Andreas Wacknitz
28 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_VERSION
= 3.3.0
32 COMPONENT_SUMMARY
= htop
- an interactive process viewer for Unix
33 COMPONENT_PROJECT_URL
= https
://htop.dev
/
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
36 COMPONENT_ARCHIVE_HASH
= sha256
:1e5cc328eee2bd1acff89f860e3179ea24b85df3ac483433f92a29977b14b045
37 COMPONENT_ARCHIVE_URL
= https
://github.com
/htop-dev
/$(COMPONENT_NAME
)/archive
/$(COMPONENT_VERSION
).
tar.gz
38 COMPONENT_FMRI
= diagnostic
/htop
39 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
40 COMPONENT_LICENSE
= GPLv2
41 COMPONENT_LICENSE_FILE
= COPYING
43 TEST_TARGET
= $(NO_TESTS
)
44 include $(WS_MAKE_RULES
)/common.mk
46 PATH
=$(GNUBIN64
):$(PATH.gnu
)
48 COMPONENT_PREP_ACTION
= ( cd
$(@D
); $(RM
) config.h
; PATH
=$(PATH
) sh autogen.sh
)
50 CPPFLAGS
+= -D_XOPEN_SOURCE
=700 -D__EXTENSIONS__
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= library
/ncurses
54 REQUIRED_PACKAGES
+= system
/library
55 REQUIRED_PACKAGES
+= system
/library
/math