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.

43 lines
1.0 KiB

  1. # SPDX-License-Identifier: GPL-3.0-or-later
  2. #
  3. # Copyright (C) 2020 Elon Huang <elonhhuang@gmail.com>
  4. # Copyright (C) 2021 ImmortalWrt.org
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=rclone-ng
  7. PKG_VERSION:=0.5.0
  8. PKG_RELEASE:=$(AUTORELEASE)
  9. PKG_SOURCE:=RcloneNg-v$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=https://github.com/ElonH/RcloneNg/releases/download/v$(PKG_VERSION)/
  11. PKG_HASH:=0b4916ddd0bacb5b358dc8d36b64c30f4182c0ace3eb06cda94b6578c419dcd9
  12. PKG_LICENSE:=MIT
  13. PKG_LICENSE_FILE:=LICENSE
  14. PKG_MAINTAINER:=Elon Huang <elonhhuang@gmail.com> \
  15. Tianling Shen <cnsztl@immortalwrt.org>
  16. include $(INCLUDE_DIR)/package.mk
  17. TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
  18. define Package/rclone-ng
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=Cloud Manager
  22. TITLE:=An angular web application for rclone
  23. URL:=https://github.com/ElonH/RcloneNg
  24. DEPENDS:=+rclone-config
  25. PKGARCH:=all
  26. endef
  27. define Build/Compile
  28. endef
  29. define Package/rclone-ng/install
  30. $(INSTALL_DIR) $(1)/www
  31. $(CP) $(PKG_BUILD_DIR)/RcloneNg $(1)/www
  32. endef
  33. $(eval $(call BuildPackage,rclone-ng))