2007-11-24 17:09:25 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libfuse
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-06-16 13:47:11 +02:00
|
|
|
LIBFUSE_VERSION:=2.8.4
|
2007-11-24 17:09:25 +01:00
|
|
|
LIBFUSE_SOURCE:=fuse-$(LIBFUSE_VERSION).tar.gz
|
2008-07-10 12:12:20 +02:00
|
|
|
LIBFUSE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/
|
2007-11-24 17:09:25 +01:00
|
|
|
|
2010-06-16 13:47:11 +02:00
|
|
|
LIBFUSE_INSTALL_STAGING = YES
|
|
|
|
LIBFUSE_LIBTOOL_PATCH = NO
|
|
|
|
LIBFUSE_CONF_OPT= --program-prefix="" \
|
2007-11-24 17:09:25 +01:00
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-example \
|
2008-07-10 12:11:43 +02:00
|
|
|
--disable-kernel-module \
|
2007-11-24 17:09:25 +01:00
|
|
|
--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
|
|
|
|
2010-06-16 13:47:11 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package,libfuse))
|