wok-next view advancecomp/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | b3fdfa3a3bd3 |
children | d5aab818505e |
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"
11 HOST_ARCH="i486 x86_64"
13 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.gz"
14 WGET_URL="$GITHUB/amadvance/advancecomp/tarball/${COMMIT:-v$VERSION}"
16 BUILD_DEPENDS="automake zlib-dev"
17 SPLIT="advancecomp advancecomp-static:static"
19 compile_rules() {
20 ./autogen.sh &&
22 case "$SET" in
23 static)
24 ./configure \
25 LDFLAGS='-static' \
26 $CONFIGURE_ARGS;;
27 *)
28 ./configure $CONFIGURE_ARGS;;
29 esac &&
31 make && 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 }