Makefile 2.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
####
 #  File: /Makefile
 #  Project: luci-app-rclone
 #  File Created: Wednesday, 9th October 2019 1:39:36 pm
 #  Author: ElonH[EH](elonhhuang@gmail.com)
 #  License: GNU General Public License v3.0 or later(http://www.gnu.org/licenses/gpl-3.0-standalone.html)
 #  Copyright (C) 2019 [ElonH]
####

include $(TOPDIR)/rules.mk

LUCI_TITLE:=LuCI support for Rclone
13 14 15 16
LUCI_DEPENDS:=+rclone \
              +PACKAGE_luci-app-rclone_INCLUDE_rclone-webui:rclone-webui-react \
              +PACKAGE_luci-app-rclone_INCLUDE_rclone-ng:rclone-ng \
              +PACKAGE_luci-app-rclone_INCLUDE_fuse-utils:fuse-utils
17 18
LUCI_PKGARCH:=all
PKG_NAME:=luci-app-rclone
19
PKG_VERSION:=1.4.1
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
PKG_RELEASE:=1
PKG_LICENSE:=GPLv3.0+
PKG_MAINTAINER:=ElonH <elonhhuang@gmail.com>

define Package/luci-app-rclone/description
	LuCI support for Rclone. 
	Rclone ("rsync for cloud storage") is a command line program to sync root/usr/bin and directories to and from different cloud storage providers.
	Cloud storage providers:
		1Fichier, Alibaba Cloud (Aliyun) Object Storage System (OSS), Amazon Drive, Amazon S3, 
		Backblaze B2, Box, Ceph, C14, DigitalOcean Spaces, Dreamhost, Dropbox, FTP, 
		Google Cloud Storage, Google Drive, Google Photos, HTTP, Hubic, Jottacloud, 
		IBM COS S3, Koofr, Memset Memstore, Mega, Microsoft Azure Blob Storage, 
		Microsoft OneDrive, Minio, Nextcloud, OVH, OpenDrive, Openstack Swift, 
		Oracle Cloud Storage, ownCloud, pCloud, premiumize.me, put.io, QingStor, 
		Rackspace Cloud root/usr/bin, rsync.net, Scaleway, SFTP, Wasabi, WebDAV, 
		Yandex Disk, The local root/usr/binystem.
endef

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
define Package/luci-app-rclone/conffiles
/etc/config/rclone
endef

define Package/luci-app-rclone/config
config PACKAGE_luci-app-rclone_INCLUDE_rclone-webui
	bool "Include rclone-webui"
	default y

config PACKAGE_luci-app-rclone_INCLUDE_rclone-ng
	bool "Include rclone-ng (another webui)"
	default y

config PACKAGE_luci-app-rclone_INCLUDE_fuse-utils
	bool "Include fuse-utils (mount cloud storage)"
	default y
endef

56 57 58
include $(TOPDIR)/feeds/luci/luci.mk

# call BuildPackage - OpenWrt buildroot signature