45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2020-2021 HandsomeMod Project
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rmtfs
|
|
PKG_VERSION:=1.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/rmtfs-$(PKG_VERSION)
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/andersson/rmtfs.git
|
|
# PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_VERSION:=695d0668ffa6e2a4bf6e676f3c58a444a5d67690
|
|
# PKG_MIRROR_HASH:=ef6a3eb2e46cd02dd41b5c63e78c61143df398eb3a141fb8f16290a086ee208a
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/rmtfs
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Qualcomm Remote Filesystem Service Implementation
|
|
DEPENDS:=+libudev-zero +libqrtr +qrtr-ns
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(call Build/Compile/Default,rmtfs)
|
|
endef
|
|
|
|
define Package/rmtfs/install
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/rmtfs.init $(1)/etc/init.d/rmtfs
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rmtfs $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,rmtfs))
|