packages/net/ncftp/Makefile
swalker c7c7743b84 [packages] ncftp: update to 3.2.5
* move to FTP submenu
 * add copyright info
 * consolidate install section


git-svn-id: svn://svn.openwrt.org/openwrt/packages@25859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 02:32:02 +00:00

69 lines
1.4 KiB
Makefile

#
# Copyright (C) 2010-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ncftp
PKG_VERSION:=3.2.5
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:=b05c7a6d5269c04891f02f43d4312b30
include $(INCLUDE_DIR)/package.mk
define Package/ncftp/Default
SECTION:=net
CATEGORY:=Network
SUBMENU:=FTP
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/ncftp{batch,get,ls,put,spooler} \
$(1)/usr/bin/
endef
$(eval $(call BuildPackage,ncftp))
$(eval $(call BuildPackage,ncftp-utils))