wok view qpdf/receipt @ rev 24416

thunar: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 19:39:21 2022 +0000 (2022-02-10)
parents c861748f2be2
children 3c9783d89208
line source
1 # SliTaz package receipt.
3 PACKAGE="qpdf"
4 VERSION="10.3.2"
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="gcc83-lib-base libjpeg pcre zlib"
15 BUILD_DEPENDS="gcc83 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 CC=gcc-83 \
28 CXX=g++-83 \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }