8cd0b08387342a2e6ec5f336b4e92bba205da917
[openwrt/svn-archive/archive.git] / net / ncftp / Makefile
1 #
2 # Copyright (C) 2010-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ncftp
11 PKG_VERSION:=3.2.5
12 PKG_RELEASE:=1
13
14 PKG_INSTALL:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
17 PKG_SOURCE_URL:=ftp://ftp.ncftp.com/ncftp
18 PKG_MD5SUM:=b05c7a6d5269c04891f02f43d4312b30
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ncftp/Default
23 SECTION:=net
24 CATEGORY:=Network
25 SUBMENU:=FTP
26 TITLE:=NcFTP Client
27 URL:=http://www.ncftpd.com/
28 endef
29
30 define Package/ncftp/Default/description
31 NcFTP Client (also known as just NcFTP) is a set of FREE application
32 programs implementing the File Transfer Protocol (FTP).
33 endef
34
35 define Package/ncftp
36 $(call Package/ncftp/Default)
37 TITLE+= (main program)
38 endef
39
40 define Package/ncftp/description
41 $(call Package/ncftp/Default/description)
42 Main program.
43 endef
44
45 define Package/ncftp-utils
46 $(call Package/ncftp/Default)
47 TITLE+= (utilities)
48 endef
49
50 define Package/ncftp-utils/description
51 $(call Package/ncftp/Default/description)
52 Utilities.
53 endef
54
55 define Package/ncftp/install
56 $(INSTALL_DIR) $(1)/usr/bin
57 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftp $(1)/usr/bin/
58 endef
59
60 define Package/ncftp-utils/install
61 $(INSTALL_DIR) $(1)/usr/bin
62 $(INSTALL_BIN) \
63 $(PKG_INSTALL_DIR)/usr/bin/ncftp{batch,get,ls,put,spooler} \
64 $(1)/usr/bin/
65 endef
66
67 $(eval $(call BuildPackage,ncftp))
68 $(eval $(call BuildPackage,ncftp-utils))