diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-05-20 09:16:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 09:16:42 -0700 |
commit | a4bb7e884ffcb30386d4ec175a7840ee1899c1c3 (patch) | |
tree | f1da342d4fb1bad2859b5542671be618d8af5c28 /libs | |
parent | a3033406eae94105b50ea9d57ea4a032b34a87a1 (diff) | |
parent | 541769ddf4ac2e3d1c93382952b09ab86a0324c5 (diff) |
Merge pull request #12190 from neheb/fuse
fuse: import from base
Diffstat (limited to 'libs')
-rw-r--r-- | libs/libfuse3/Makefile | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/libs/libfuse3/Makefile b/libs/libfuse3/Makefile new file mode 100644 index 000000000..3caf1d7be --- /dev/null +++ b/libs/libfuse3/Makefile @@ -0,0 +1,68 @@ +# +# Copyright (C) 2006-2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=libfuse3 +PKG_VERSION:=3.9.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=fuse-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=https://github.com/libfuse/libfuse/releases/download/fuse-$(PKG_VERSION) +PKG_HASH:=1bafcfd6c66ba35b7b0beb822532a9106eb8409ad6cde988888fde85f89be645 +PKG_BUILD_DIR:=$(BUILD_DIR)/fuse-$(PKG_VERSION) + +PKG_MAINTAINER:= +PKG_CPE_ID:=cpe:/a:fuse_project:fuse + +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 +PKG_BUILD_DEPENDS:=meson/host + +include $(INCLUDE_DIR)/package.mk +include ../../devel/meson/meson.mk + +define Package/libfuse3 + TITLE:=FUSE3 library + URL:=https://github.com/libfuse/libfuse + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+kmod-fuse +libpthread + SUBMENU:=Filesystem + ABI_VERSION:=1 + LICENSE:=LGPL-2.1-only + LICENSE_FILES:=LGPL2.txt +endef + +define Package/libfuse3/description + fuse3 (Filesystem in UserSpacE) + This package contains the fuse3 shared libraries, needed by other programs. + - libfuse3 +endef + +MESON_ARGS += \ + -Ddisable-mtab=true \ + -Dutils=false \ + -Dexamples=false \ + -Duseroot=false + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include/fuse3 + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/fuse3/*.h $(1)/usr/include/fuse3 + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse3.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse3.pc $(1)/usr/lib/pkgconfig/ +endef + +define Package/libfuse3/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse3.so.* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libfuse3)) |