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