wok view advancecomp/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 343c093ad221
children
line source
1 # SliTaz package receipt.
3 PACKAGE="advancecomp"
4 VERSION="2.6"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoheader
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 }