initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_SUNWAIT
|
||||
bool "sunwait"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Sunwait calculates sunrise or sunset times with civil,
|
||||
nautical, astronomical and custom twilights.
|
||||
|
||||
https://github.com/risacher/sunwait
|
||||
|
||||
comment "sunwait needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,3 @@
|
||||
# sha256 locally computed
|
||||
sha256 ef26ed05882d5286a64a37c4044f99b877cc54f58a46f0e37ca60c93398df910 sunwait-7326b53e5406c7ebd552ae6dc0fc659252a18e7f.tar.gz
|
||||
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSE
|
||||
@@ -0,0 +1,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))
|
||||
Reference in New Issue
Block a user