wok view quazip/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="quazip"
4 VERSION="0.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/stachenov/quazip"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="qmake Qt4-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/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/quazip
28 qmake PREFIX=$DESTDIR/usr &&
29 make &&
30 make staticlib &&
31 make install &&
32 install -m 0644 libquazip.a $DESTDIR/usr/lib &&
33 install -D -m 0644 ../FindQuaZip.cmake \
34 $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }