wok view pdf2djvu/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 1522926ec4fb
children 0262035dc1e7
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 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }