wok-next view fbpdf-mupdf/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | d958fec46c9f |
children | 82b613cfd1e0 |
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="bzlib djvulibre freetype jbig2dec openjpeg"
30 PROVIDE="fbpdf"
31 TAGS="pdf"
32 }