474a5591f9
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9020 3c298f89-4303-0410-b956-a3cf2f4a3e73
45 lines
885 B
Makefile
45 lines
885 B
Makefile
#
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=yafc
|
|
PKG_VERSION:=1.1.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
|
|
PKG_CAT:=bzcat
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/yafc
|
|
SUBMENU:=FTP
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+libncurses +libreadline
|
|
TITLE:=Yafc is yet another ftp client.
|
|
URL:=http://yacf.sourceforge.net/
|
|
endef
|
|
|
|
# uses GNU configure
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Package/yafc/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,yafc))
|