2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
13 PKG_RELEASE
:=$(AUTORELEASE
)
15 PKG_SOURCE
:=fuse-
$(PKG_VERSION
).
tar.xz
16 PKG_SOURCE_URL
:=https
://github.com
/libfuse
/libfuse
/releases
/download
/fuse-
$(PKG_VERSION
)
17 PKG_HASH
:=b2e283485d47404ac896dd0bb7f7ba81e1470838e677e45f659804c3a3b69666
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/fuse-
$(PKG_VERSION
)
21 PKG_CPE_ID
:=cpe
:/a
:fuse_project
:fuse
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/meson.mk
26 define Package
/fuse3
/Default
28 URL
:=https
://github.com
/libfuse
/libfuse
32 define Package
/fuse3
/Default
/description
33 fuse3
(Filesystem in UserSpacE
)
36 define Package
/libfuse3
37 $(call Package
/fuse3
/Default
)
39 URL
:=https
://github.com
/libfuse
/libfuse
42 DEPENDS
:=+kmod-fuse
+libpthread
44 LICENSE
:=LGPL-2.1
-only
45 LICENSE_FILES
:=LGPL2.txt
48 define Package
/libfuse3
/description
49 $(call Package
/fuse3
/Default
/description
)
50 This package contains the fuse3 shared libraries
, needed by other programs.
54 define Package
/fuse3-utils
55 $(call Package
/fuse3
/Default
)
62 LICENSE_FILES
:=COPYING
65 define Package
/fuse3-utils
/description
66 $(call Package
/fuse3
/Default
/description
)
67 This package contains the FUSE utilities.
74 -Dudevrulesdir
=/dev
/null \
75 -Dutils
=$(if
$(CONFIG_PACKAGE_fuse3-utils
),true
,false
) \
79 define Build
/InstallDev
80 $(INSTALL_DIR
) $(1)/usr
/include/fuse3
81 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/include/fuse3
/*.h
$(1)/usr
/include/fuse3
82 $(INSTALL_DIR
) $(1)/usr
/lib
83 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfuse3.so
* $(1)/usr
/lib
/
84 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
85 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/fuse3.
pc $(1)/usr
/lib
/pkgconfig
/
88 define Package
/libfuse3
/install
89 $(INSTALL_DIR
) $(1)/usr
/lib
90 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfuse3.so.
* $(1)/usr
/lib
/
93 define Package
/fuse3-utils
/install
94 $(INSTALL_DIR
) $(1)/usr
/bin
95 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/fusermount3
$(1)/usr
/bin
/
96 $(INSTALL_DIR
) $(1)/usr
/sbin
97 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/mount.fuse3
$(1)/usr
/sbin
/
100 $(eval
$(call BuildPackage
,libfuse3
))
101 $(eval
$(call BuildPackage
,fuse3-utils
))