wok-6.x view advancecomp/receipt @ rev 24489
updated dmidecode (3.2 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 17:31:24 2022 +0100 (2022-02-18) |
parents | 1cc8dfef2917 |
children | aba2c5ca9a66 |
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 patch -p1 -i $stuff/advancecomp.patch
28 ./autogen.sh &&
29 ./configure $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 }