wok-current view fbpdf-mupdf/receipt @ rev 24968
gnutls: disabled GOST support
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 13:11:21 2022 +0100 (2022-04-26) |
parents | 6e8b1bcb30e2 |
children | e1e1678c5265 |
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 # 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 }