wok view qpdf/receipt @ rev 25740

Fix vlc build, 3.x required Qt5
author Stanislas Leduc <shann@slitaz.org>
date Sun Aug 25 19:45:07 2024 +0200 (2 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="gcc83-lib-base libatomic libjpeg pcre zlib"
15 BUILD_DEPENDS="gcc83 gnutls-dev jpeg-dev pcre-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_files *.so*
40 }