void-packages/srcpkgs/edbrowse/template

32 lines
967 B
Bash

# Template file for 'edbrowse'
pkgname=edbrowse
version=3.8.6
revision=1
build_style=gnu-makefile
hostmakedepends="perl pkg-config"
makedepends="libcurl-devel pcre2-devel quickjs-devel readline-devel
unixodbc-devel"
make_build_args="QUICKJS_LDFLAGS=-lquickjs QUICKJS_DIR=${XBPS_CROSS_BASE}/usr/include/quickjs"
make_use_env=true
short_desc="Line-oriented text editor, web browser and mail client similar to ed(1)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later, MIT"
homepage="http://edbrowse.org/"
distfiles="https://github.com/CMB/edbrowse/archive/v${version}.tar.gz"
checksum=85ce43c2832e1e79ea24e23c7726757080ef966d7c2c387f8aa9be108f36bf26
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
make_build_args+=" QUICKJS_LDFLAGS+=-latomic"
fi
do_install() {
vbin src/edbrowse
vsconf doc/sample.ebrc
vman doc/man-edbrowse-debian.1 edbrowse.1
vdoc doc/usersguide.html
vdoc README
vdoc CHANGES
vlicense COPYING
}