1################################################################################ 2# 3# sunwait 4# 5################################################################################ 6 7SUNWAIT_VERSION = 7326b53e5406c7ebd552ae6dc0fc659252a18e7f 8SUNWAIT_SITE = $(call github,risacher,sunwait,$(SUNWAIT_VERSION)) 9SUNWAIT_LICENSE = GPL-3.0 10SUNWAIT_LICENSE_FILES = LICENSE 11 12SUNWAIT_MAKE_OPTS = \ 13 $(TARGET_CONFIGURE_OPTS) \ 14 C=$(TARGET_CXX) \ 15 CFLAGS="$(TARGET_CFLAGS) -c" \ 16 LDFLAGS="$(TARGET_LDFLAGS) -lm" 17 18define SUNWAIT_BUILD_CMDS 19 $(MAKE) $(SUNWAIT_MAKE_OPTS) -C $(@D) all 20endef 21 22define SUNWAIT_INSTALL_TARGET_CMDS 23 $(INSTALL) -D -m 0755 $(@D)/sunwait $(TARGET_DIR)/usr/bin/sunwait 24endef 25 26$(eval $(generic-package)) 27