kumquat-buildroot/package/libfuse/libfuse.mk

32 lines
975 B
Makefile
Raw Normal View History

2007-11-24 17:09:25 +01:00
#############################################################
#
# 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-nls \
2007-11-24 17:09:25 +01:00
--disable-example \
--disable-kernel-module \
2007-11-24 17:09:25 +01:00
--enable-lib \
--enable-util
2007-11-24 17:09:25 +01: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/
cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/
endef
2007-11-24 17:09:25 +01:00
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
2007-11-24 17:09:25 +01:00
$(eval $(autotools-package))