aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lynx/lynx_2.8.7.bb
blob: f59dc9aa6f7b4e41cb412e764d16dd74b1b31c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DESCRIPTION = "text web browser"
SECTION = "console/network"
DEPENDS = "ncurses openssl"
LICENSE = "GPLv2"
HOMEPAGE = "http://lynx.isc.org/"
PR = "r0"
S = "${WORKDIR}/${PN}${@bb.data.getVar('PV',d,1).replace('.', '-')}"

# This URL should point to the latest tarball, but apparently does not:
# http://lynx.isc.org/${PN}${PV}/${PN}${PV}.tar.bz2
SRC_URI = "http://lynx.isc.org/current/${PN}${PV}rel.2.tar.bz2 \
	   file://locale-charset.patch"

inherit autotools gettext

EXTRA_OECONF += "--with-ssl=${STAGING_DIR_HOST}${layout_exec_prefix} --with-curses-dir=${STAGING_DIR_HOST}${layout_exec_prefix} --enable-nls --with-screen=ncursesw --enable-locale-charset --enable-ipv6 --enable-persistent-cookies"

do_configure() {
	# prevent import of ncursesw6-config from host system
	# only ncurses-config (version 5) is available in the tree
	sed -i 's/}6/}6-does-not-exist-in-oe/g' aclocal.m4 configure
	# configure.in cannot be easily rebuilt
	oe_runconf\
	ac_cv_path_TELNET=${bindir}/telnet\
	ac_cv_path_TN3270=no\
	ac_cv_path_RLOGIN=${bindir}/rlogin\
	ac_cv_path_MV=/bin/mv\
	ac_cv_path_GZIP=/bin/gzip\
	ac_cv_path_UNCOMPRESS=/bin/gunzip\
	ac_cv_path_UNZIP=${bindir}/unzip\
	ac_cv_path_BZIP2=${bindir}/bzip2\
	ac_cv_path_TAR=/bin/tar\
	ac_cv_path_COMPRESS=no\
	ac_cv_path_RM=/bin/rm\
	ac_cv_path_UUDECODE=${bindir}/uudecode\
	ac_cv_path_UUDECODE=${bindir}/uudecode\
	ac_cv_path_ZCAT=/bin/zcat\
	ac_cv_path_ZIP=${bindir}/zip\
	ac_cv_path_INSTALL=${bindir}/install
}

SRC_URI[md5sum] = "cb936aef812e4e463ab86cbbe14d4db9"
SRC_URI[sha256sum] = "301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627"