wok-next view advancecomp/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | f445ca69a6a7 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="advancecomp"
4 VERSION="2.0"
5 COMMIT="4e04906"
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 TAGS="compression archive"
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-static"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./autogen.sh &&
24 # make statically linked tools
25 ./configure \
26 LDFLAGS='-static' \
27 --bindir=/usr/sbin \
28 $CONFIGURE_ARGS &&
29 make && make install &&
31 # make dynamically linked tools
32 make clean &&
33 ./configure $CONFIGURE_ARGS && make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 advancecomp)
41 copy bin/
42 DEPENDS="zlib"
43 ;;
44 *-static)
45 copy sbin/
46 CAT="system-tools|static binary"
47 DEPENDS=" "
48 PROVIDE="advancecomp"
49 ;;
50 esac
51 }