vp-build/srcpkgs/lynx/template

23 lines
822 B
Bash

# Template file for 'lynx'
pkgname=lynx
version=2.9.0dev.10
revision=1
wrksrc="lynx${version}"
build_style=gnu-configure
configure_args="--enable-widec --with-zlib --with-bzlib --with-ssl --enable-ipv6"
makedepends="zlib-devel bzip2-devel ncurses-devel openssl-devel"
short_desc="Text browser for the World Wide Web"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lynx.invisible-island.net/"
distfiles="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${version}.tar.bz2"
checksum=898ac82bcfcbd4b20ea39afdf66fd659b8773c7549623b0f8802bf392a41a912
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;'
}