You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
678 B

  1. # Copyright (C) 2017 Yousong Zhou
  2. include $(TOPDIR)/rules.mk
  3. PKG_NAME:=pservice
  4. PKG_VERSION:=2017-08-29
  5. PKG_RELEASE=3
  6. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  7. include $(INCLUDE_DIR)/package.mk
  8. define Package/pservice
  9. SECTION:=utils
  10. CATEGORY:=Utilities
  11. TITLE:=Wrap commands as procd services
  12. endef
  13. define Build/Compile
  14. endef
  15. define Package/pservice/conffiles
  16. /etc/config/pservice
  17. endef
  18. define Package/pservice/install
  19. $(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/etc/config
  20. $(INSTALL_BIN) ./files/pservice.init $(1)/etc/init.d/pservice
  21. $(INSTALL_DATA) ./files/pservice.config $(1)/etc/config/pservice
  22. endef
  23. $(eval $(call BuildPackage,pservice))