wget: Add version 1.11.4

* Changes from org.oe.dev: ssl autodetection uses staging dirs

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
This commit is contained in:
Michael Lippautz 2011-04-18 20:12:13 +02:00
parent fc04fe74ed
commit 02e3e6814c
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,30 @@
DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more."
SECTION = "console/network"
LICENSE = "GPL"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
INC_PR = "r10"
S = "${WORKDIR}/wget-${PV}"
inherit autotools gettext
EXTRA_OECONF = " \
--enable-ipv6
--with-libssl-prefix=${STAGING_DIR}${HOST_SYS}"
# The unslung kernel does not support ipv6
EXTRA_OECONF_unslung = "--without-ssl"
# SlugOS kernels do not support ipv6. Can be loaded as a module.
EXTRA_OECONF_slugos = "--without-ssl"
do_install_append () {
mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
}
pkg_postinst_${PN} () {
update-alternatives --install ${bindir}/wget wget wget.${PN} 100
}
pkg_prerm_${PN} () {
update-alternatives --remove wget wget.${PN}
}

View File

@ -0,0 +1,7 @@
PR="${INC_PR}.0"
SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz"
SRC_URI[md5sum] = "69e8a7296c0e12c53bd9ffd786462e87"
SRC_URI[sha256sum] = "7315963b6eefb7530b4a4f63a5d5ccdab30078784cf41ccb5297873f9adea2f3"
require wget.inc