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_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@GNU
/$(PKG_NAME
)
17 PKG_MD5SUM
:=795fefbb7099f93e2d346b026785c4b8
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=Non-interactive network downloader
30 Wget is a network utility to retrieve files from the Web
\\\
31 using http and ftp
, the two most widely used Internet
\\\
32 protocols. It works non-interactively
, so it will work in
\\\
33 the background
, after having logged off. The program supports
\\\
34 recursive retrieval of web-authoring pages
as well
as ftp
\\\
35 sites
-- you can use wget to make mirrors of archives and
\\\
36 home pages or to travel the Web like a WWW robot.
37 URL
:=http
://www.gnu.org
/software
/wget
/index.html
40 define Build
/Configure
41 $(call Build
/Configure
/Default
, \
44 --with-libssl-prefix
="$(STAGING_DIR)/usr" \
49 $(MAKE
) -C
$(PKG_BUILD_DIR
)
52 define Package
/wget
/install
53 $(INSTALL_DIR
) $(1)/usr
/bin
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/wget
$(1)/usr
/bin
/
57 # FIXME: check if busybox really provides a wget applet
58 define Package
/wget
/postrm
60 ln
-sf ..
/..
/bin
/busybox
$${IPKG_INSTROOT}/usr
/bin
/wget
63 $(eval
$(call BuildPackage
,wget
))