2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-fuse-
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/fuse
17 PKG_MD5SUM
:=3c575cf89a6d3d8ab6063c2f60bd5b25
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-fuse-
$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=+libfuse
+fuse-utils
+glib2
+libpthread
28 URL
:=http
://fuse.sourceforge.net
/
31 define Package
/sshfs
/description
32 Mount remote system over sftp.
37 -D_FILE_OFFSET_BITS=64 \
38 -I$(STAGING_DIR)/usr/lib/libintl/include \
39 -I$(STAGING_DIR)/usr/lib/libiconv/include \
40 -I$(STAGING_DIR)/usr/include/glib-2.0 \
41 -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
43 -lglib-2.0 -lintl -liconv -lfuse -pthread -lgthread-2.0 \
44 -L$(STAGING_DIR)/usr/lib/libintl/lib \
45 -L$(STAGING_DIR)/usr/lib/libiconv/lib"
48 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
49 ARCH
="$(LINUX_KARCH)" \
50 CROSS_COMPILE
="$(TARGET_CROSS)" \
51 DESTDIR
="$(PKG_INSTALL_DIR)" \
55 define Package
/sshfs
/install
56 $(INSTALL_DIR
) $(1)/usr
/bin
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/sshfs
$(1)/usr
/bin
/
60 $(eval
$(call BuildPackage
,sshfs
))