# Template build file for 'lynx' pkgname=lynx _version=2.8.8 _patch=2 version=$_version.$_patch revision=10 wrksrc="${pkgname}${_version//./-}" build_style=gnu-configure configure_args="--enable-widec --with-zlib --with-bzlib --with-ssl --enable-ipv6" short_desc="A text browser for the World Wide Web" maintainer="Enno Boland " makedepends="zlib-devel bzip2-devel ncurses-devel libressl-devel" license="GPL" homepage="http://lynx.isc.org" distfiles="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_version}rel.${_patch}.tar.gz" checksum=234c9dc77d4c4594ad6216d7df4d49eae3019a3880e602f39721b35b97fbc408 pre_configure() { sed -i configure \ -e '/LDFLAGS="-L$cf_add_libdir $LDFLAGS"/d' \ -e 's;,$BUILD_CC;,$CC_FOR_BUILD;' \ -e 's;,$BUILD_CFLAGS;,$CFLAGS_FOR_BUILD;' \ -e 's;,$BUILD_LDFLAGS;,$LDFLAGS_FOR_BUILD;' }