wok-current view qpdf/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 3c9783d89208 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qpdf"
4 VERSION="10.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A Content-Preserving PDF Transformation System."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="Artistic-2.0"
9 WEB_SITE="https://github.com/qpdf/qpdf"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/release-$TARBALL"
14 DEPENDS="libatomic libjpeg pcre zlib"
15 BUILD_DEPENDS="gnutls-dev jpeg-dev pcre-dev zlib-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/release-qpdf-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 cook_copy_files *.so*
37 }