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.

52 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2019 rosysong@rosinson.com
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=rosy-file-server
  9. PKG_VERSION:=1.0.0
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPL-2.0
  12. PKG_MAINTAINER:=Rosy Song <rosysong@rosinson.com>
  13. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/rosy-file-server
  16. SUBMENU:=File Transfer
  17. SECTION:=net
  18. CATEGORY:=Network
  19. TITLE:=Rosy File Server over HTTP
  20. PKGARCH:=all
  21. endef
  22. define Package/rosy-file-server/description
  23. This package is a configuration management for luci-app-rosy-file-server.
  24. endef
  25. define Package/rosy-file-server/conffiles
  26. /etc/config/rosy-file-server
  27. endef
  28. define Build/Prepare
  29. endef
  30. define Build/Configure
  31. endef
  32. define Build/Compile
  33. endef
  34. define Package/rosy-file-server/install
  35. $(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/config
  36. $(INSTALL_BIN) ./files/rosyfs.init $(1)/etc/init.d/rosyfs
  37. $(INSTALL_CONF) ./files/rosyfs.config $(1)/etc/config/rosyfs
  38. endef
  39. $(eval $(call BuildPackage,rosy-file-server))