[package] add ncftp (#7616)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 17 Jul 2010 17:18:51 +0000 (17:18 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 17 Jul 2010 17:18:51 +0000 (17:18 +0000)
SVN-Revision: 22255

net/ncftp/Makefile [new file with mode: 0644]

diff --git a/net/ncftp/Makefile b/net/ncftp/Makefile
new file mode 100644 (file)
index 0000000..e847d5b
--- /dev/null
@@ -0,0 +1,60 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=ncftp
+PKG_VERSION:=3.2.4
+PKG_RELEASE:=1
+
+PKG_INSTALL=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
+PKG_SOURCE_URL:=ftp://ftp.ncftp.com/ncftp
+PKG_MD5SUM:=bc4af9801f626d541f0bf6b7ac4dae1f
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/ncftp/Default
+ SECTION:=net
+ CATEGORY:=Network
+ TITLE:=NcFTP Client
+ URL:=http://www.ncftpd.com/
+endef
+
+define Package/ncftp/Default/description
+ NcFTP Client (also known as just NcFTP) is a set of FREE application
+ programs implementing the File Transfer Protocol (FTP).
+endef
+
+define Package/ncftp
+$(call Package/ncftp/Default)
+ TITLE+= (main program)
+endef
+
+define Package/ncftp/description
+$(call Package/ncftp/Default/description)
+ Main program.
+endef
+
+define Package/ncftp-utils
+$(call Package/ncftp/Default)
+ TITLE+= (utilities)
+endef
+
+define Package/ncftp-utils/description
+$(call Package/ncftp/Default/description)
+ Utilities.
+endef
+
+define Package/ncftp/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftp $(1)/usr/bin/
+endef
+
+define Package/ncftp-utils/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftpbatch $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{ncftpget,ncftpls,ncftpput} $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncftpspooler $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,ncftp))
+$(eval $(call BuildPackage,ncftp-utils))