64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_ARCH_LINKEASE:=$(ARCH)
|
|
|
|
PKG_NAME:=linkmount
|
|
# use PKG_SOURCE_DATE instead of PKG_VERSION for compitable
|
|
PKG_SOURCE_DATE:=1.0.3
|
|
PKG_RELEASE:=3
|
|
ARCH_HEXCODE:=
|
|
ifeq ($(ARCH),x86_64)
|
|
ARCH_HEXCODE=8664
|
|
else ifeq ($(ARCH),aarch64)
|
|
ARCH_HEXCODE=aa64
|
|
else ifeq ($(ARCH),arm)
|
|
ARCH_HEXCODE=aa32
|
|
else ifeq ($(ARCH),mipsel)
|
|
ARCH_HEXCODE=1b0c
|
|
endif
|
|
PKG_SOURCE_VERSION:=$(ARCH_HEXCODE)
|
|
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_SOURCE_DATE).tar.gz
|
|
PKG_SOURCE_URL:=https://dl.istoreos.com/binary/LinkEase/AutoUpgrade/linkmount/
|
|
PKG_HASH:=b8a5b99751cdd3dd84ac75c94e3cff5b898f910c86f12b4c7ec74dc8b3c510cb
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_SOURCE_DATE)
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_USE_MIPS16:=0
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Web Servers/Proxies
|
|
TITLE:=LinkMount - the file cloud
|
|
DEPENDS:=@(arm||x86_64||aarch64)
|
|
PKGARCH:=all
|
|
URL:=https://www.linkease.com/
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
LinkMount is used by LinkEase
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin/linkmount
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_ARCH_LINKEASE)/bin/linkmount_bin $(1)/usr/sbin/linkmount/linkmount_bin
|
|
$(CP) $(PKG_BUILD_DIR)/$(PKG_ARCH_LINKEASE)/bin/lib $(1)/usr/sbin/linkmount/lib
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|
|
|