wok view pdf2djvu/receipt @ rev 25647
Backout salvador 10% speedup: crashes with large files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 26 12:15:51 2024 +0000 (9 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pdf2djvu"
4 VERSION="0.9.17"
5 CATEGORY="graphics"
6 TAGS="pdf djvu"
7 SHORT_DESC="Creates DjVu files from PDF files."
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 WEB_SITE="http://jwilk.net/software/pdf2djvu"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/jwilk/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="djvulibre poppler"
16 BUILD_DEPENDS="cacerts djvulibre-dev poppler-dev" #exiv2
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }