buildrootschalter/package/libfuse/libfuse.mk
Thomas De Schampheleire b70b927391 libfuse: remove unused configure options
Current versions of libfuse do not recognize configure options
--disable-nls and --disable-kernel-module. Remove them.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-30 23:26:56 +02:00

31 lines
972 B
Makefile

################################################################################
#
# libfuse
#
################################################################################
LIBFUSE_VERSION = 2.9.2
LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz
LIBFUSE_SITE = http://downloads.sourceforge.net/project/fuse/fuse-2.X/$(LIBFUSE_VERSION)
LIBFUSE_LICENSE = GPLv2 LGPLv2.1
LIBFUSE_LICENSE_FILES = COPYING COPYING.LIB
LIBFUSE_INSTALL_STAGING = YES
LIBFUSE_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
LIBFUSE_CONF_OPT = \
--disable-example \
--enable-lib \
--enable-util
define LIBFUSE_INSTALL_TARGET_CMDS
cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/
cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/
endef
define LIBFUSE_CLEAN_CMDS
-$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) uninstall
-$(MAKE) -C $(@D) clean
rm -f $(TARGET_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/lib/libfuse.so*
endef
$(eval $(autotools-package))