luci2-p910nd: LuCI2 module for p910nd maganement
[project/luci2/ui.git] / luci2-p910nd / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=luci2-p910nd
4 PKG_RELEASE:=1
5
6 include $(INCLUDE_DIR)/package.mk
7
8 define Package/luci2-p910nd
9   SECTION:=luci2
10   CATEGORY:=LuCI2
11   TITLE:=LuCI2 p910nd module
12   DEPENDS:=luci2 p910nd
13 endef
14
15 define Package/luci2-p910nd/description
16   LuCI2 module for p910nd printer daemon management
17 endef
18
19 define Build/Compile
20 endef
21
22 define Package/luci2-p910nd/install
23         $(INSTALL_DIR) $(1)/usr/share/rpcd/menu.d
24         $(INSTALL_DATA) ./files/usr/share/rpcd/menu.d/services.p910nd.json $(1)/usr/share/rpcd/menu.d/
25
26         $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
27         $(INSTALL_DATA) ./files/usr/share/rpcd/acl.d/services.p910nd.json $(1)/usr/share/rpcd/acl.d/
28
29         $(INSTALL_DIR) $(1)/www/luci2/template
30         $(INSTALL_DATA) ./files/www/luci2/template/services.p910nd.htm $(1)/www/luci2/template
31
32         $(INSTALL_DIR) $(1)/www/luci2/view
33         $(INSTALL_DATA) ./files/www/luci2/view/services.p910nd.js $(1)/www/luci2/view
34 endef
35
36 $(eval $(call BuildPackage,luci2-p910nd))