poco: moved to github
[packages.git] / net / curlftpfs / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3
4 include $(TOPDIR)/rules.mk
5
6 PKG_NAME:=curlftpfs
7 PKG_VERSION:=0.9.2
8 PKG_RELEASE:=2
9
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_SOURCE_URL:=@SF/curlftpfs
12 PKG_MD5SUM:=b452123f755114cd4461d56c648d9f12
13
14 PKG_BUILD_DEPENDS:=libiconv
15 PKG_FIXUP:=autoreconf
16
17 include $(INCLUDE_DIR)/package.mk
18 include $(INCLUDE_DIR)/nls.mk
19
20 define Package/curlftpfs
21   SECTION:=net
22   CATEGORY:=Network
23   SUBMENU:=Filesystem
24   DEPENDS:=+libcurl +libfuse +glib2
25   TITLE:=CurlFtpFS
26   URL:=http://curlftpfs.sourceforge.net/
27 endef
28
29 define Package/curlftpfs/description
30   CurlFtpFS is a filesystem for accessing FTP hosts
31   based on FUSE and libcurl.
32 endef
33
34 EXTRA_CFLAGS += \
35         -I$(ICONV_PREFIX)/include \
36         -I$(STAGING_DIR)/usr/include/fuse \
37         -DICONV_CONST=const
38
39 EXTRA_LDFLAGS += \
40         -L$(INTL_PREFIX)/lib \
41         -L$(ICONV_PREFIX)/lib \
42         -lpthread
43
44 define Package/curlftpfs/install
45         $(INSTALL_DIR) $(1)/usr/bin
46         $(INSTALL_BIN) $(PKG_BUILD_DIR)/curlftpfs $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,curlftpfs))
50