2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2019 Michal Nowak
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 3.3.16
22 COMPONENT_SUMMARY
= The Linux watch utility
23 COMPONENT_PROJECT_URL
= https
://gitlab.com
/procps-ng
/procps
24 COMPONENT_FMRI
= utilities
/watch
25 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
26 COMPONENT_SRC
= procps-ng-
$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
28 COMPONENT_ARCHIVE_URL
= https
://downloads.sourceforge.net
/project
/procps-ng
/Production
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_ARCHIVE_HASH
= sha256
:925eacd65dedcf9c98eb94e8978bbfb63f5de37294cc1047d81462ed477a20af
30 COMPONENT_LICENSE
= GPL-2.0
-or-later
, LGPL-2.1
-or-later
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_PREP_ACTION
= (cd
$(@D
) ; autoreconf
-f
-i
)
37 # Disable optional utilities
38 CONFIGURE_OPTIONS
+= --disable-pidof
39 CONFIGURE_OPTIONS
+= --disable-kill
40 CONFIGURE_OPTIONS
+= --disable-modern-top
41 CONFIGURE_OPTIONS
+= --disable-numa
42 CONFIGURE_OPTIONS
+= --enable-watch8bit
43 # is needed to be able to build.
44 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= library
/ncurses
48 REQUIRED_PACKAGES
+= system
/library