AA: packages: weechat: update to 0.4.0
[12.09/packages.git] / net / yafc / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=yafc
11 PKG_VERSION:=1.1.1
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
17
18 PKG_FIXUP:=autoreconf
19 PKG_REMOVE_FILES:=autogen.sh aclocal.m4
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/yafc
24   SUBMENU:=File Transfer
25   SECTION:=net
26   CATEGORY:=Network
27   DEPENDS:=+libncurses +libreadline
28   TITLE:=Yafc is yet another ftp client.
29   URL:=http://yafc.sourceforge.net/
30 endef
31
32 # uses GNU configure
33 CONFIGURE_ARGS += \
34         --with-socks=no \
35         --with-socks5=no \
36         --with-krb4=no \
37         --with-krb5=no \
38         --with-gssapi=no
39
40 CONFIGURE_VARS += \
41         bash_cv_func_sigsetjmp=missing
42
43 define Build/Compile
44         $(MAKE) -C $(PKG_BUILD_DIR)
45 endef
46
47 define Package/yafc/install
48         $(INSTALL_DIR) $(1)/usr/sbin
49         $(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
50 endef
51
52 $(eval $(call BuildPackage,yafc))