You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.7 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=libfuse3
  10. PKG_VERSION:=3.9.1
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=fuse-$(PKG_VERSION).tar.xz
  13. PKG_SOURCE_URL:=https://github.com/libfuse/libfuse/releases/download/fuse-$(PKG_VERSION)
  14. PKG_HASH:=1bafcfd6c66ba35b7b0beb822532a9106eb8409ad6cde988888fde85f89be645
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/fuse-$(PKG_VERSION)
  16. PKG_MAINTAINER:=
  17. PKG_CPE_ID:=cpe:/a:fuse_project:fuse
  18. PKG_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_BUILD_DEPENDS:=meson/host
  21. include $(INCLUDE_DIR)/package.mk
  22. include ../../devel/meson/meson.mk
  23. define Package/libfuse3
  24. TITLE:=FUSE3 library
  25. URL:=https://github.com/libfuse/libfuse
  26. SECTION:=libs
  27. CATEGORY:=Libraries
  28. DEPENDS:=+kmod-fuse +libpthread
  29. SUBMENU:=Filesystem
  30. ABI_VERSION:=1
  31. LICENSE:=LGPL-2.1-only
  32. LICENSE_FILES:=LGPL2.txt
  33. endef
  34. define Package/libfuse3/description
  35. fuse3 (Filesystem in UserSpacE)
  36. This package contains the fuse3 shared libraries, needed by other programs.
  37. - libfuse3
  38. endef
  39. MESON_ARGS += \
  40. -Ddisable-mtab=true \
  41. -Dutils=false \
  42. -Dexamples=false \
  43. -Duseroot=false
  44. define Build/InstallDev
  45. $(INSTALL_DIR) $(1)/usr/include/fuse3
  46. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/fuse3/*.h $(1)/usr/include/fuse3
  47. $(INSTALL_DIR) $(1)/usr/lib
  48. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse3.so* $(1)/usr/lib/
  49. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  50. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse3.pc $(1)/usr/lib/pkgconfig/
  51. endef
  52. define Package/libfuse3/install
  53. $(INSTALL_DIR) $(1)/usr/lib
  54. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse3.so.* $(1)/usr/lib/
  55. endef
  56. $(eval $(call BuildPackage,libfuse3))