mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-09 23:34:51 +01:00
OpenWrt 21.02 will redownload from git over and over if PKG_MIRROR_HASH is not set. Set it to skip to prevent it from happening.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2018 iopsys
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=imonitor
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_SOURCE_PROTO=git
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/imonitor.git
|
|
PKG_SOURCE_VERSION:=532f4900862bcb45d8cd4bf37555fabda81750b6
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_MIRROR_HASH:=skip
|
|
PKG_SOURCE_SUBDIR:=${PKG_NAME}-${PKG_VERSION}
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
PKG_LICENSE:=GPLv2
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/imonitor
|
|
CATEGORY:=Utilities
|
|
TITLE:=iopsysWrt process supervisor
|
|
DEPENDS:=+ubox +uci +ubus +rpcd +rpcd-mod-file
|
|
endef
|
|
|
|
define Package/imonitor/description
|
|
imonitor is a process supervisor or a process control system similar to the Supervisor (http://supervisord.org/)
|
|
endef
|
|
|
|
define Package/imonitor/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/imonitor $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,imonitor))
|