hc
2024-03-22 f63cd4c03ea42695d5f9b0e1798edd196923aae6
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
################################################################################
#
# sunwait
#
################################################################################
 
SUNWAIT_VERSION = 7326b53e5406c7ebd552ae6dc0fc659252a18e7f
SUNWAIT_SITE = $(call github,risacher,sunwait,$(SUNWAIT_VERSION))
SUNWAIT_LICENSE = GPL-3.0
SUNWAIT_LICENSE_FILES = LICENSE
 
SUNWAIT_MAKE_OPTS = \
   $(TARGET_CONFIGURE_OPTS) \
   C=$(TARGET_CXX) \
   CFLAGS="$(TARGET_CFLAGS) -c" \
   LDFLAGS="$(TARGET_LDFLAGS) -lm"
 
define SUNWAIT_BUILD_CMDS
   $(MAKE) $(SUNWAIT_MAKE_OPTS) -C $(@D) all
endef
 
define SUNWAIT_INSTALL_TARGET_CMDS
   $(INSTALL) -D -m 0755 $(@D)/sunwait $(TARGET_DIR)/usr/bin/sunwait
endef
 
$(eval $(generic-package))