2da03278189891e5b489911e101776c7537076c6
[openwrt/svn-archive/archive.git] / net / wput / 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:=wput
12 PKG_VERSION:=0.5
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/wput
17 PKG_MD5SUM:=441b2e07219f78167b29a7ac33488fff
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/wput
25 SUBMENU:=FTP
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=A wget-like command-line FTP client
29 URL:=http://itooktheredpill.dyndns.org/wput/
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --disable-g-switch \
35 )
36 endef
37
38 define Build/Compile
39 $(MAKE) -C $(PKG_BUILD_DIR)
40 endef
41
42 define Package/wput/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/wput $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,wput))