wok-current annotate fbpdf-mupdf/receipt @ rev 17729
python-prettytable: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 23:06:50 2015 +0100 (2015-03-05) |
parents | d488dfb85c26 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
al@14429 | 1 # SliTaz package receipt. |
al@14429 | 2 |
al@14429 | 3 PACKAGE="fbpdf-mupdf" |
al@14429 | 4 PROVIDE="fbpdf" |
al@14429 | 5 VERSION="20130411" |
al@14429 | 6 CATEGORY="multimedia" |
al@14429 | 7 SHORT_DESC="PDF reader in frame buffer (mupdf based)" |
al@14429 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14853 | 9 LICENSE="BSD" |
al@14429 | 10 WEB_SITE="http://repo.or.cz/w/fbpdf.git" |
al@14429 | 11 TARBALL="fbpdf-$VERSION.tar.gz" |
al@14429 | 12 WGET_URL="$WEB_SITE/snapshot/262662b256aa261c7eb5b06b4018591ce2dd6d44.tar.gz" |
al@14429 | 13 TAGS="pdf" |
al@14429 | 14 |
al@14429 | 15 DEPENDS="bzlib djvulibre freetype jbig2dec openjpeg" |
al@14429 | 16 BUILD_DEPENDS="djvulibre-dev mupdf-dev" |
al@14429 | 17 |
al@14429 | 18 # Rules to configure and make the package. |
al@14429 | 19 compile_rules() |
al@14429 | 20 { |
pascal@16624 | 21 # mupdf 1.4 patch |
pascal@16624 | 22 sed -i 's|^CFLAGS.*|& -I/usr/include/mupdf|;s|lfitz|lmupdf|' Makefile |
al@14429 | 23 mkdir $DESTDIR |
al@14429 | 24 make && |
al@14429 | 25 cp fbpdf fbdjvu $DESTDIR |
al@14429 | 26 } |
al@14429 | 27 |
al@14429 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14429 | 29 genpkg_rules() |
al@14429 | 30 { |
al@14429 | 31 mkdir -p $fs/usr/bin |
al@14429 | 32 cp $install/fb* $fs/usr/bin |
al@14429 | 33 } |