[package] add ncftp (#7616)
[openwrt/svn-archive/archive.git] / net / ncftp / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ncftp
4 PKG_VERSION:=3.2.4
5 PKG_RELEASE:=1
6
7 PKG_INSTALL=1
8
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
10 PKG_SOURCE_URL:=ftp://ftp.ncftp.com/ncftp
11 PKG_MD5SUM:=bc4af9801f626d541f0bf6b7ac4dae1f
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define Package/ncftp/Default
16 SECTION:=net
17 CATEGORY:=Network
18 TITLE:=NcFTP Client
19 URL:=http://www.ncftpd.com/
20 endef
21
22 define Package/ncftp/Default/description
23 NcFTP Client (also known as just NcFTP) is a set of FREE application
24 programs implementing the File Transfer Protocol (FTP).
25 endef
26
27 define Package/ncftp
28 $(call Package/ncftp/Default)
29 TITLE+= (main program)
30 endef
31
32 define Package/ncftp/description
33 $(call Package/ncftp/Default/description)
34 Main program.
35 endef
36
37 define Package/ncftp-utils
38 $(call Package/ncftp/Default)
39 TITLE+= (utilities)
40 endef
41
42 define Package/ncftp-utils/description
43 $(call Package/ncftp/Default/description)
44 Utilities.
45 endef
46
47 define Package/ncftp/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftp $(1)/usr/bin/
50 endef
51
52 define Package/ncftp-utils/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftpbatch $(1)/usr/bin/
55 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{ncftpget,ncftpls,ncftpput} $(1)/usr/bin/
56 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftpspooler $(1)/usr/bin/
57 endef
58
59 $(eval $(call BuildPackage,ncftp))
60 $(eval $(call BuildPackage,ncftp-utils))