1 # Copyright (C) 2017 Yousong Zhou
3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=2017-08-29
9 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
11 include $(INCLUDE_DIR
)/package.mk
13 define Package
/pservice
16 TITLE
:=Wrap commands
as procd services
22 define Package
/pservice
/conffiles
26 define Package
/pservice
/install
27 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/etc
/init.d
$(1)/etc
/config
28 $(INSTALL_BIN
) .
/files
/pservice.init
$(1)/etc
/init.d
/pservice
29 $(INSTALL_DATA
) .
/files
/pservice.config
$(1)/etc
/config
/pservice
32 $(eval
$(call BuildPackage
,pservice
))