1################################################################################ 2# 3# libfuse 4# 5################################################################################ 6 7LIBFUSE_VERSION = 2.9.9 8LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz 9LIBFUSE_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE_VERSION) 10LIBFUSE_LICENSE = GPL-2.0, LGPL-2.1 11LIBFUSE_LICENSE_FILES = COPYING COPYING.LIB 12LIBFUSE_CPE_ID_VENDOR = libfuse_project 13LIBFUSE_INSTALL_STAGING = YES 14# We're patching configure.ac 15LIBFUSE_AUTORECONF = YES 16# add host-gettext for AM_ICONV macro 17LIBFUSE_DEPENDENCIES = \ 18 host-gettext \ 19 $(if $(BR2_PACKAGE_LIBICONV),libiconv) 20LIBFUSE_CONF_OPTS = \ 21 --disable-example \ 22 --enable-lib \ 23 --enable-util \ 24 UDEV_RULES_PATH=/lib/udev/rules.d 25 26ifeq ($(BR2_PACKAGE_HAS_UDEV),y) 27define LIBFUSE_INSTALL_UDEV 28 mkdir -p $(TARGET_DIR)/lib/udev/rules.d 29 cp $(STAGING_DIR)/lib/udev/rules.d/*-fuse.rules $(TARGET_DIR)/lib/udev/rules.d 30endef 31 32LIBFUSE_POST_INSTALL_TARGET_HOOKS += LIBFUSE_INSTALL_UDEV 33endif 34 35define LIBFUSE_INSTALL_TARGET_CMDS 36 cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/ 37 cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/ 38endef 39 40define LIBFUSE_DEVICES 41 /dev/fuse c 666 0 0 10 229 0 0 - 42endef 43 44define LIBFUSE_PERMISSIONS 45 /usr/bin/fusermount f 4755 0 0 - - - - - 46endef 47 48$(eval $(autotools-package)) 49