wok annotate advancecomp/receipt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (24 months ago)
parents de1a43f5b15c
children 343c093ad221
rev   line source
pascal@4524 1 # SliTaz package receipt.
pascal@4524 2
pascal@4524 3 PACKAGE="advancecomp"
pascal@25053 4 VERSION="2.3"
pascal@4524 5 CATEGORY="system-tools"
pascal@4524 6 SHORT_DESC="Recompression utilities for .ZIP, .PNG, .MNG and .GZ"
pascal@4524 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
al@19556 9 WEB_SITE="http://www.advancemame.it/comp-readme"
pascal@4524 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19556 11 WGET_URL="https://github.com/amadvance/advancecomp/archive/v$VERSION.tar.gz"
pascal@15362 12 TAGS="compression archive"
pascal@15362 13
pascal@4524 14 DEPENDS="gcc-lib-base zlib"
al@19556 15 BUILD_DEPENDS="automake zlib-dev"
pascal@4524 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@4524 23 # Rules to configure and make the package.
pascal@4524 24 compile_rules()
pascal@4524 25 {
pascal@25054 26 autoheader
al@19556 27 ./autogen.sh &&
al@19556 28 ./configure $CONFIGURE_ARGS && make && make install
pascal@4524 29 }
pascal@4524 30
pascal@4524 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4524 32 genpkg_rules()
pascal@4524 33 {
al@19556 34 cook_copy_folders bin
pascal@4524 35 }