[oe] [oe-meta 1/2] wget: Add version 1.11.4

Michael Lippautz michael.lippautz at gmail.com
Mon Apr 18 19:32:20 UTC 2011


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

Signed-off-by: Michael Lippautz <michael.lippautz at gmail.com>
---
 meta-oe/recipes-connectivity/wget/wget.inc       |   30 ++++++++++++++++++++++
 meta-oe/recipes-connectivity/wget/wget_1.11.4.bb |    7 +++++
 2 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/wget/wget.inc
 create mode 100644 meta-oe/recipes-connectivity/wget/wget_1.11.4.bb

diff --git a/meta-oe/recipes-connectivity/wget/wget.inc b/meta-oe/recipes-connectivity/wget/wget.inc
new file mode 100644
index 0000000..8903fee
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wget/wget.inc
@@ -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}
+}
diff --git a/meta-oe/recipes-connectivity/wget/wget_1.11.4.bb b/meta-oe/recipes-connectivity/wget/wget_1.11.4.bb
new file mode 100644
index 0000000..b9f27f8
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wget/wget_1.11.4.bb
@@ -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
-- 
1.7.3.4





More information about the Openembedded-devel mailing list