wok-6.x view advancecomp/receipt @ rev 24695
advancecomp: CVE-2019-8383 & CVE-2019-9210
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 15:13:28 2022 +0000 (2022-03-13) |
parents | 5ea0ce1cecc0 |
children | de1a43f5b15c |
line source
1 # SliTaz package receipt.
3 PACKAGE="advancecomp"
4 VERSION="2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Recompression utilities for .ZIP, .PNG, .MNG and .GZ"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.advancemame.it/comp-readme"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/amadvance/advancecomp/archive/v$VERSION.tar.gz"
12 TAGS="compression archive"
14 DEPENDS="gcc-lib-base zlib"
15 BUILD_DEPENDS="automake zlib-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 for patch in $stuff/*.patch ; do
27 patch -p1 -i $patch
28 done
30 ./autogen.sh &&
31 ./configure $CONFIGURE_ARGS && make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 }