# # Copyright (C) 2013-2022 iopsys # include $(TOPDIR)/rules.mk PKG_NAME:=questd PKG_VERSION:=5.2.5 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/questd PKG_SOURCE_VERSION:=38af3655416c80933f89f5a03638403a7c051a42 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 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/questd CATEGORY:=Utilities DEPENDS:=+libuci +libubox +ubus +libpthread TITLE:=Router information daemon endef define Package/questd/description questd collects system and network information and presents this information via ubus endef ifeq ($(LOCAL_DEV),1) CMAKE_OPTIONS:=-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON define Build/Prepare $(CP) -rf ~/git/code/questd/* $(PKG_BUILD_DIR)/ endef endif define Package/questd/install $(CP) ./files/* $(1)/ $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/ endef $(eval $(call BuildPackage,questd))