wok annotate advancecomp/receipt @ rev 25665
Up advancecomp (2.6), apache (2.4.58), apache-mod-perl (2.0.13), apache-mod-wsgi (5.0.0), apr (1.7.4), awstats (7.9), gzip (1.13), zbar (0.23.93), zlib (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 19:18:54 2024 +0000 (3 months ago) |
parents | 343c093ad221 |
children |
rev | line source |
---|---|
pascal@4524 | 1 # SliTaz package receipt. |
pascal@4524 | 2 |
pascal@4524 | 3 PACKAGE="advancecomp" |
pascal@25665 | 4 VERSION="2.6" |
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@25597 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25597 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@4524 | 24 # Rules to configure and make the package. |
pascal@4524 | 25 compile_rules() |
pascal@4524 | 26 { |
pascal@25054 | 27 autoheader |
al@19556 | 28 ./autogen.sh && |
al@19556 | 29 ./configure $CONFIGURE_ARGS && make && make install |
pascal@4524 | 30 } |
pascal@4524 | 31 |
pascal@4524 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4524 | 33 genpkg_rules() |
pascal@4524 | 34 { |
al@19556 | 35 cook_copy_folders bin |
pascal@4524 | 36 } |