1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
4 include $(TOPDIR)/rules.mk
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_SOURCE_URL:=@SF/curlftpfs
12 PKG_MD5SUM:=b452123f755114cd4461d56c648d9f12
14 PKG_BUILD_DEPENDS:=libiconv
16 include $(INCLUDE_DIR)/package.mk
18 define Package/curlftpfs
21 DEPENDS:=+libcurl +libfuse +glib2
25 define Package/curlftpfs/description
26 CurlFtpFS is a filesystem for accessing FTP hosts
27 based on FUSE and libcurl.
30 EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/lib/libiconv/include -DICONV_CONST=const
32 define Package/curlftpfs/install
33 $(INSTALL_DIR) $(1)/usr/bin
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/curlftpfs $(1)/usr/bin/
37 $(eval $(call BuildPackage,curlftpfs))