wok-next view fbpdf-mupdf/receipt @ rev 21153
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 16:45:41 2019 +0200 (2019-01-31) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fbpdf-mupdf"
4 VERSION="20130411"
5 CATEGORY="multimedia"
6 SHORT_DESC="PDF reader in frame buffer (mupdf based)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://repo.or.cz/w/fbpdf.git"
10 REPOLOGY="fbpdf"
12 TARBALL="fbpdf-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/snapshot/262662b256aa261c7eb5b06b4018591ce2dd6d44.tar.gz"
15 BUILD_DEPENDS="djvulibre-dev mupdf-dev"
17 compile_rules() {
18 # mupdf 1.4 patch
19 sed -i 's|^CFLAGS.*|& -I/usr/include/mupdf|; s|lfitz|lmupdf|' Makefile
21 make || return 1
23 install -Dm755 fbpdf $install/usr/bin/fbpdf
24 install -Dm755 fbdjvu $install/usr/bin/fbdjvu
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="libbzip2 djvulibre freetype jbig2dec openjpeg"
30 PROVIDE="fbpdf"
31 TAGS="pdf"
32 }