wok-next annotate fbpdf-mupdf/receipt @ rev 18109

Add sshfp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 18:13:38 2015 +0200 (2015-06-01)
parents d488dfb85c26
children d958fec46c9f
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 }