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

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents d488dfb85c26
children 6e8b1bcb30e2
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="http://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 }