void-packages/srcpkgs/edbrowse/template
2015-05-11 18:04:45 +02:00

29 lines
871 B
Bash

# Template file for 'edbrowse'
pkgname=edbrowse
version=3.5.3
revision=3
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://the-brannons.com/edbrowse/"
distfiles="http://the-brannons.com/${pkgname}/${pkgname}-${version}.zip"
checksum=fae06a147a9661fe446e47b1ba68cd680e5eb0b5e71fae1fb6952d8c646835d5
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
}