wok-next view advancecomp/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 0e7893ac206d
children 0f2575775b2d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="advancecomp"
4 VERSION="2.1"
5 COMMIT="ea4f30c"
6 CATEGORY="system-tools"
7 SHORT_DESC="Recompression utilities for .ZIP, .PNG, .MNG and .GZ"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.advancemame.it/comp-readme"
12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.gz"
13 WGET_URL="$GITHUB/amadvance/advancecomp/tarball/${COMMIT:-v$VERSION}"
15 BUILD_DEPENDS="automake zlib-dev"
16 SPLIT="$PACKAGE-static:static"
18 compile_rules() {
19 ./autogen.sh &&
21 case "$SET" in
22 static)
23 ./configure \
24 LDFLAGS='-static' \
25 $CONFIGURE_ARGS;;
26 *)
27 ./configure $CONFIGURE_ARGS;;
28 esac &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 advancecomp)
37 copy @std
38 DEPENDS="zlib"
39 ;;
40 *-static)
41 copy @std
42 CAT="system-tools|static binary"
43 DEPENDS=" "
44 PROVIDE="advancecomp"
45 ;;
46 esac
47 TAGS="compression archive"
48 }