1 DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more."
2 SECTION = "console/network"
3 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
8 SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \
9 file://m4macros.patch;patch=1 \
10 file://autotools.patch;patch=1"
11 S = "${WORKDIR}/wget-${PV}"
13 inherit autotools gettext
15 EXTRA_OECONF = "--enable-ipv6"
17 # The unslung kernel does not support ipv6
18 EXTRA_OECONF_unslung = ""
21 if [ ! -e acinclude.m4 ]; then
22 mv aclocal.m4 acinclude.m4
25 autotools_do_configure
30 mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
33 pkg_postinst_${PN} () {
34 update-alternatives --install ${bindir}/wget wget wget.${PN} 100
38 update-alternatives --remove wget wget.${PN}