2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-11-24 17:09:25 +01:00
|
|
|
#
|
|
|
|
# libfuse
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-01-07 19:18:26 +01:00
|
|
|
|
2013-09-01 21:54:37 +02:00
|
|
|
LIBFUSE_VERSION = 2.9.3
|
2011-01-07 19:18:26 +01:00
|
|
|
LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz
|
2012-08-23 00:11:55 +02:00
|
|
|
LIBFUSE_SITE = http://downloads.sourceforge.net/project/fuse/fuse-2.X/$(LIBFUSE_VERSION)
|
2012-08-13 22:02:40 +02:00
|
|
|
LIBFUSE_LICENSE = GPLv2 LGPLv2.1
|
|
|
|
LIBFUSE_LICENSE_FILES = COPYING COPYING.LIB
|
2010-06-16 13:47:11 +02:00
|
|
|
LIBFUSE_INSTALL_STAGING = YES
|
2012-09-07 03:59:18 +02:00
|
|
|
LIBFUSE_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2013-07-30 18:33:01 +02:00
|
|
|
LIBFUSE_CONF_OPT = \
|
2007-11-24 17:09:25 +01:00
|
|
|
--disable-example \
|
|
|
|
--enable-lib \
|
2010-06-16 13:47:11 +02:00
|
|
|
--enable-util
|
2007-11-24 17:09:25 +01:00
|
|
|
|
2010-06-16 13:47:11 +02:00
|
|
|
define LIBFUSE_INSTALL_TARGET_CMDS
|
2007-11-24 17:09:25 +01:00
|
|
|
cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/
|
2008-07-17 15:25:35 +02:00
|
|
|
cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/
|
2010-06-16 13:47:11 +02:00
|
|
|
endef
|
2007-11-24 17:09:25 +01:00
|
|
|
|
2010-06-16 13:47:11 +02:00
|
|
|
define LIBFUSE_CLEAN_CMDS
|
|
|
|
-$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) uninstall
|
|
|
|
-$(MAKE) -C $(@D) clean
|
2008-07-10 12:11:51 +02:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/lib/libfuse.so*
|
2010-06-16 13:47:11 +02:00
|
|
|
endef
|
2007-11-24 17:09:25 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|