void-packages/srcpkgs/edbrowse/template
2015-08-27 16:51:04 +02:00

29 lines
845 B
Bash

# Template file for 'edbrowse'
pkgname=edbrowse
version=3.5.4.2
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=0c14da87ca1b6adb0ddc7b51e8d5392a58d9a8c2ae636385f38e7c6a4622551d
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
}