increase dvbapp PR.
[vuplus_openembedded] / recipes / wget / wget.inc
1 DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more."
2 SECTION = "console/network"
3 DEPENDS = ""
4 INC_PR = "r8"
5 LICENSE = "GPL"
6
7 S = "${WORKDIR}/wget-${PV}"
8
9 inherit autotools gettext
10
11 # Disable checking for SSL since that searches the system paths
12 EXTRA_OECONF = "--enable-ipv6 --without-ssl"
13
14 # The unslung kernel does not support ipv6
15 EXTRA_OECONF_unslung = "--without-ssl"
16 # SlugOS kernels do not support ipv6. Can be loaded as a module.
17 EXTRA_OECONF_slugos = "--without-ssl"
18
19 do_configure() {
20         autotools_do_configure
21 }
22
23 do_install () {
24         autotools_do_install
25         mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
26 }
27
28 pkg_postinst_${PN} () {
29         update-alternatives --install ${bindir}/wget wget wget.${PN} 100
30 }
31
32 pkg_prerm_${PN} () {
33         update-alternatives --remove wget wget.${PN}
34 }