void-packages/srcpkgs/edbrowse/template

30 lines
845 B
Bash

# Template file for 'edbrowse'
pkgname=edbrowse
version=3.5.4.1
revision=2
hostmakedepends="unzip pkg-config"
makedepends="mozjs24-devel libressl-devel pcre-devel libcurl-devel readline-devel"
short_desc="Line-oriented text editor and web browser similar to ed(1)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://edbrowse.org/"
distfiles="http://edbrowse.org/${pkgname}-${version}.zip"
checksum=b4f40db86b7b2cda424ea16fef24ab92b60b4d248ae0ee8fb68bbfcda952ff3a
do_build() {
make ${makejobs} -C src JS_CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/mozjs-24"
}
do_install() {
vbin src/edbrowse
vbin src/edbrowse-js
vbin doc/setup.ebrc
vsconf doc/sample.ebrc
vman doc/man-edbrowse-debian.1 edbrowse.1
vdoc doc/usersguide.html
vdoc doc/philosophy.html
vdoc README
vdoc CHANGES
vlicense COPYING
}