Christopher Brannon a09ef74227 edbrowse: update to 3.5.4.
This also contains a patch from upstream, so that edbrowse will
build under musl.  This will go away with the next release.
2015-05-19 11:04:11 -07:00

30 lines
843 B
Bash

# Template file for 'edbrowse'
pkgname=edbrowse
version=3.5.4
revision=1
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=9b8ef8c8b83a207f59999e9117b1f1f09ca498ccd08811782dd4d42081679225
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
}