wok annotate pdf2djvu/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (4 weeks ago)
parents 5ea0ce1cecc0
children
rev   line source
psychomaniak@19525 1 # SliTaz package receipt.
psychomaniak@19525 2
psychomaniak@19525 3 PACKAGE="pdf2djvu"
Hans-G?nter@23285 4 VERSION="0.9.17"
psychomaniak@19525 5 CATEGORY="graphics"
Hans-G?nter@21671 6 TAGS="pdf djvu"
Hans-G?nter@21671 7 SHORT_DESC="Creates DjVu files from PDF files."
Hans-G?nter@21671 8 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19525 9 LICENSE="GPL2"
Hans-G?nter@21671 10 WEB_SITE="http://jwilk.net/software/pdf2djvu"
Hans-G?nter@21671 11
psychomaniak@19525 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21671 13 WGET_URL="https://github.com/jwilk/$PACKAGE/releases/download/$VERSION/$TARBALL"
psychomaniak@19525 14
psychomaniak@19525 15 DEPENDS="djvulibre poppler"
Hans-G?nter@21671 16 BUILD_DEPENDS="cacerts djvulibre-dev poppler-dev" #exiv2
psychomaniak@19525 17
pascal@25601 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25601 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
psychomaniak@19525 25 # Rules to configure and make the package.
psychomaniak@19525 26 compile_rules()
psychomaniak@19525 27 {
Hans-G?nter@21671 28 ./configure &&
Hans-G?nter@21671 29 make &&
Hans-G?nter@21671 30 make install
psychomaniak@19525 31 }
psychomaniak@19525 32
psychomaniak@19525 33 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19525 34 genpkg_rules()
psychomaniak@19525 35 {
Hans-G?nter@23285 36 cp -a $install/* $fs
psychomaniak@19525 37 }