wok view fbpdf-mupdf/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | b9659e3c2111 |
children | 73f1da798682 |
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/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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/shortlog 2>/dev/null | \
22 sed '/<td title=/!d;s|.*<i>||;s|</.*||;s|-||g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # mupdf 1.4 patch
29 sed -i 's|^CFLAGS.*|& -I/usr/include/mupdf|;s|lfitz|lmupdf|' Makefile
30 mkdir $DESTDIR
31 make &&
32 cp fbpdf fbdjvu $DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp $install/fb* $fs/usr/bin
40 }