lua-rs232: fix compilation with GCC13
[feed/packages.git] / utils / pservice / Makefile
1 # Copyright (C) 2017 Yousong Zhou
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=pservice
6 PKG_VERSION:=2017-08-29
7 PKG_RELEASE=3
8
9 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
10
11 include $(INCLUDE_DIR)/package.mk
12
13 define Package/pservice
14 SECTION:=utils
15 CATEGORY:=Utilities
16 TITLE:=Wrap commands as procd services
17 endef
18
19 define Build/Compile
20 endef
21
22 define Package/pservice/conffiles
23 /etc/config/pservice
24 endef
25
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
30 endef
31
32 $(eval $(call BuildPackage,pservice))