2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 4112 2006-07-02 20:33:21Z nico $
9 include $(TOPDIR)/rules.mk
14 PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
29 TITLE:=Yafc is yet another ftp client.
30 DESCRIPTION:=console-based FTP client
31 URL:=http://yacf.sourceforge.net
34 define Build/Configure
35 $(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
39 rm -rf $(PKG_INSTALL_DIR)
40 mkdir -p $(PKG_INSTALL_DIR)
41 $(MAKE) -C $(PKG_BUILD_DIR) \
45 define Package/yafc/install
46 install -m0755 -d $(1)/usr/sbin
47 $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
50 $(eval $(call BuildPackage,yafc))