2010-01-02 16:02:08 +00:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=curlftpfs
|
|
|
|
PKG_VERSION:=0.9.2
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
2010-01-02 16:02:08 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/curlftpfs
|
|
|
|
PKG_MD5SUM:=b452123f755114cd4461d56c648d9f12
|
|
|
|
|
|
|
|
PKG_BUILD_DEPENDS:=libiconv
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-01-02 16:02:08 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-02 18:54:24 +00:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2010-01-02 16:02:08 +00:00
|
|
|
|
|
|
|
define Package/curlftpfs
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 07:07:52 +00:00
|
|
|
SUBMENU:=Filesystem
|
2010-01-02 16:02:08 +00:00
|
|
|
DEPENDS:=+libcurl +libfuse +glib2
|
|
|
|
TITLE:=CurlFtpFS
|
2010-03-24 04:49:34 +00:00
|
|
|
URL:=http://curlftpfs.sourceforge.net/
|
2010-01-02 16:02:08 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/curlftpfs/description
|
|
|
|
CurlFtpFS is a filesystem for accessing FTP hosts
|
|
|
|
based on FUSE and libcurl.
|
|
|
|
endef
|
|
|
|
|
2010-12-13 15:59:40 +00:00
|
|
|
EXTRA_CFLAGS += \
|
2011-02-02 18:54:24 +00:00
|
|
|
-I$(ICONV_PREFIX)/include \
|
2010-12-13 15:59:40 +00:00
|
|
|
-I$(STAGING_DIR)/usr/include/fuse \
|
|
|
|
-DICONV_CONST=const
|
|
|
|
|
|
|
|
EXTRA_LDFLAGS += \
|
2011-02-02 18:54:24 +00:00
|
|
|
-L$(INTL_PREFIX)/lib \
|
|
|
|
-L$(ICONV_PREFIX)/lib
|
2010-01-02 16:02:08 +00:00
|
|
|
|
|
|
|
define Package/curlftpfs/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/curlftpfs $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,curlftpfs))
|
|
|
|
|