aboutsummaryrefslogtreecommitdiff
path: root/utils/ifuse/Makefile
blob: 75d8319c09026e62c3b033bdb55afcd453248ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=ifuse
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/libimobiledevice/ifuse.git
PKG_SOURCE_DATE:=2023-01-06
PKG_SOURCE_VERSION:=814a0e38050850937debd697fcfe6eca3de1b66f
PKG_MIRROR_HASH:=702eb5f850eca4bb7e5ec82f25026d0a2240041e7c0f614322608ed238ebb789

PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:libimobiledevice:ifuse

PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1

include $(INCLUDE_DIR)/package.mk

define Package/ifuse
  SECTION:=utils
  CATEGORY:=Utilities
  SUBMENU:=libimobiledevice
  TITLE:=Fuse filesystem access to iOS devices
  URL:=https://www.libimobiledevice.org/
  DEPENDS:=+fuse-utils +libimobiledevice
endef

define Package/ifuse/description
  A fuse filesystem implementation to access the contents of iOS devices.
  This project allows mounting various directories of an iOS device locally
  using the FUSE file system interface.
  - Media: Mount media directory of an iOS device locally
  - Apps: Mount sandbox container or document directory of an app
  - Jailbreak: Mount root filesystem on jailbroken devices (requires AFC2 service)
  - Browse: Allows to retrieve a list of installed file-sharing enabled apps
endef

CONFIGURE_ARGS += \
	PACKAGE_VERSION=$(PKG_VERSION)

define Package/ifuse/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ifuse $(1)/usr/bin/
endef

$(eval $(call BuildPackage,ifuse))