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.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
17 PKG_SOURCE_URL
:=@SF
/wput
18 PKG_MD5SUM
:=441b2e07219f78167b29a7ac33488fff
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=A wget-like command-line FTP client
27 DESCRIPTION
:=A wget-like command-line FTP client.
28 URL
:=http
://itooktheredpill.dyndns.org
/wput
/
31 define Build
/Configure
32 (cd
$(PKG_BUILD_DIR
); rm -f config.cache
; \
33 $(TARGET_CONFIGURE_OPTS
) \
34 CFLAGS
="$(TARGET_CFLAGS)" \
36 --target
=$(GNU_TARGET_NAME
) \
37 --host
=$(GNU_TARGET_NAME
) \
38 --build
=$(GNU_HOST_NAME
) \
44 --datadir=/usr
/share \
45 --includedir=/usr
/include \
46 --infodir=/usr
/share
/info \
48 --libexecdir
=/usr
/lib \
49 --localstatedir
=/var \
50 --mandir=/usr
/share
/man \
53 $(DISABLE_LARGEFILE
) \
62 $(MAKE
) -C
$(PKG_BUILD_DIR
)
65 define Package
/wput
/install
66 install -d
-m0755
$(1)/usr
/bin
67 install -m0755
$(PKG_BUILD_DIR
)/wput
$(1)/usr
/bin
/
70 $(eval
$(call BuildPackage
,wput
))