wok-current view qpdf/receipt @ rev 24557
updated fltk packages (1.3.5 -> 1.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:09:26 2022 +0100 (2022-02-25) |
parents | 66587b715a2a |
children | 54300170b458 |
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 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 cook_copy_folders bin
38 cook_copy_files *.so*
39 }