Category reorganization
[openwrt/svn-archive/archive.git] / net / yafc / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=yafc
12 PKG_VERSION:=1.1.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/yafc
25 SUBMENU:=FTP
26 SECTION:=net
27 CATEGORY:=Network
28 DEPENDS:=+libncurses +libreadline
29 TITLE:=Yafc is yet another ftp client.
30 URL:=http://yacf.sourceforge.net/
31 endef
32
33 # uses GNU configure
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR)
37 endef
38
39 define Package/yafc/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
42 endef
43
44 $(eval $(call BuildPackage,yafc))