void-packages/srcpkgs/lynx/template
2018-11-04 10:18:43 -02:00

24 lines
899 B
Bash

# Template file for 'lynx'
pkgname=lynx
_distver=2.8.9
_patchver=1
version="${_distver}.${_patchver}"
revision=2
wrksrc="lynx${_distver}rel.${_patchver}"
build_style=gnu-configure
configure_args="--enable-widec --with-zlib --with-bzlib --with-ssl --enable-ipv6"
makedepends="zlib-devel bzip2-devel ncurses-devel libressl-devel"
short_desc="A text browser for the World Wide Web"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://lynx.invisible-island.net/"
distfiles="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_distver}rel.${_patchver}.tar.gz"
checksum=a46e4167b8f02c066d2fe2eafcc5603367be0e3fe2e59e9fc4eb016f306afc8e
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;'
}