[packages] nbd: update to 2.9.20
[openwrt/svn-archive/archive.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:=libtool
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 DEPENDS:=+libcurl +libfuse +glib2
24 TITLE:=CurlFtpFS
25 URL:=http://curlftpfs.sourceforge.net/
26 endef
27
28 define Package/curlftpfs/description
29 CurlFtpFS is a filesystem for accessing FTP hosts
30 based on FUSE and libcurl.
31 endef
32
33 EXTRA_CFLAGS += \
34 -I$(ICONV_PREFIX)/include \
35 -I$(STAGING_DIR)/usr/include/fuse \
36 -DICONV_CONST=const
37
38 EXTRA_LDFLAGS += \
39 -L$(INTL_PREFIX)/lib \
40 -L$(ICONV_PREFIX)/lib
41
42 define Package/curlftpfs/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/curlftpfs $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,curlftpfs))
48