massive Makefile cleanup, add missing 'svn:keywords' property
[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 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libncurses +libreadline
28 TITLE:=Yafc is yet another ftp client.
29 URL:=http://yacf.sourceforge.net/
30 endef
31
32 # uses GNU configure
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR)
36 endef
37
38 define Package/yafc/install
39 install -d -m0755 $(1)/usr/sbin
40 $(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,yafc))