24 lines
888 B
Bash
24 lines
888 B
Bash
# Template build file for 'lynx'
|
|
pkgname=lynx
|
|
_distver=2.8.8
|
|
_patchver=2
|
|
version=${_distver}.${_patchver}
|
|
revision=14
|
|
wrksrc="${pkgname}${_distver//./-}"
|
|
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 <gottox@voidlinux.eu>"
|
|
makedepends="zlib-devel bzip2-devel ncurses-devel libressl-devel"
|
|
license="GPL-2"
|
|
homepage="http://lynx.invisible-island.net/"
|
|
distfiles="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_distver}rel.${_patchver}.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;'
|
|
}
|