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.

28 lines
616 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=2
  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/install
  16. $(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/etc/config
  17. $(INSTALL_BIN) ./files/pservice.init $(1)/etc/init.d/pservice
  18. $(INSTALL_DATA) ./files/pservice.config $(1)/etc/config/pservice
  19. endef
  20. $(eval $(call BuildPackage,pservice))