wok view advancecomp/receipt @ rev 24793
updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 15:45:38 2022 +0100 (2022-03-21) |
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 }