void-packages/srcpkgs/fbpdf/template
2016-11-30 12:06:08 +01:00

24 lines
702 B
Bash

# Template file for 'fbpdf'
pkgname=fbpdf
version=0.0.20160408
revision=2
wrksrc="fbpdf-43ca240"
build_style=gnu-makefile
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel mupdf-devel"
short_desc="Small framebuffer PDF/DJVU viewer"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://repo.or.cz/w/fbpdf.git"
distfiles="http://repo.or.cz/fbpdf.git/snapshot/43ca240b0b92a160f724441278e969aef226b31c.tar.gz"
checksum=75ba53a14f132b42ce6020315c0af20293aa8e5327eecf110afadc6f1767c1a2
post_extract() {
sed -i 's/lopenjpeg/lopenjp2 -lharfbuzz/g' Makefile
}
do_install() {
vbin fbpdf
vbin fbdjvu
vdoc README # no manpage
vlicense LICENSE
}