wok-current view fbpdf-mupdf/receipt @ rev 21835

updated re2c (0.13.5 -> 1.2.1)
author Hans-G?nter Theisgen
date Sat Sep 14 10:21:53 2019 +0100 (2019-09-14)
parents a87225648267
children b9659e3c2111
line source
1 # SliTaz package receipt.
3 PACKAGE="fbpdf-mupdf"
4 PROVIDE="fbpdf"
5 VERSION="20130411"
6 CATEGORY="multimedia"
7 SHORT_DESC="PDF reader in frame buffer (mupdf based)"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://repo.or.cz/w/fbpdf.git"
11 TARBALL="fbpdf-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/snapshot/262662b256aa261c7eb5b06b4018591ce2dd6d44.tar.gz"
13 TAGS="pdf"
15 DEPENDS="bzlib djvulibre freetype jbig2dec openjpeg"
16 BUILD_DEPENDS="djvulibre-dev mupdf-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # mupdf 1.4 patch
22 sed -i 's|^CFLAGS.*|& -I/usr/include/mupdf|;s|lfitz|lmupdf|' Makefile
23 mkdir $DESTDIR
24 make &&
25 cp fbpdf fbdjvu $DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp $install/fb* $fs/usr/bin
33 }