void-packages/srcpkgs/rlwrap/template

19 lines
669 B
Bash

# Template file for 'rlwrap'
pkgname=rlwrap
version=0.42
revision=4
build_style=gnu-configure
makedepends="readline-devel"
depends="perl"
short_desc="Adds readline-style editing and history to programs"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
#distfiles="http://utopia.knoware.nl/~hlub/uck/rlwrap/$pkgname-$version.tar.gz"
distfiles="https://ftp.heanet.ie/mirrors/OpenBSD/distfiles/rlwrap-${version}.tar.gz"
checksum=5a70d8469db9d0a6630628f2d5d2972ad16c092400b7fbbdf699693ec0f87e44
pre_configure() {
sed -i '/file existence when cross compiling/s/as_fn_error/echo/' configure
}