mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-27 17:37:18 +01:00
There are differences in tar generation between OpenWrt 23.05 and 25.12. This hash had been added automatically by the version-bump script update_git_source_package.sh from maintainer-tools. This causes the build to fail on later OpenWrt versions such as 25.12. For now, skip hash verification. Once we have moved to 25. For now, we have multiple choices: * backport changes done to tarball generation to 23.05-based OpenWrt branch * only update hashes using OpenWrt 25.12 based branch (23.05-based branch will happily ignore and redownload in such cases, which is not an issue as long as we do not upload those tarballs * use skip for now and do not use bump-script from OpenWrt and only adopt using proper hashes when we have moved to OpenWrt 25.12 Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2018-2022 iopsys
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rulengd
|
|
PKG_VERSION:=1.2.12
|
|
PKG_RELEASE:=1
|
|
|
|
LOCAL_DEV:=0
|
|
ifneq ($(LOCAL_DEV),1)
|
|
PKG_SOURCE_PROTO=git
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/rulengd.git
|
|
PKG_SOURCE_VERSION:=a19175a70da42d57e76aac167c9a1f4cab3a94c6
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.zst
|
|
PKG_MIRROR_HASH:=skip
|
|
endif
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/rulengd
|
|
CATEGORY:=Utilities
|
|
TITLE:=RuleEngine daemon
|
|
DEPENDS:=+ubox +uci +ubus +libjson-c
|
|
MENU:=1
|
|
endef
|
|
|
|
define Package/rulengd/description
|
|
rulengd listens for events and executes speficied methods if the incoming event arguments contain speficied ones.
|
|
endef
|
|
|
|
#CMAKE_OPTIONS:=-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
|
|
|
ifeq ($(LOCAL_DEV),1)
|
|
define Build/Prepare
|
|
$(CP) -rf ~/git/code/rulengd/* $(PKG_BUILD_DIR)/
|
|
endef
|
|
endif
|
|
|
|
define Package/rulengd/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rulengd $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,rulengd))
|