wok-6.x diff advancecomp/receipt @ rev 19972

Up dropbear (2017.75) CVE-2017-9078
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 07 11:54:12 2017 +0200 (2017-06-07)
parents 11b5e93cb5f2
children 0da06edeed9f
line diff
     1.1 --- a/advancecomp/receipt	Tue Jul 05 15:34:01 2016 +0300
     1.2 +++ b/advancecomp/receipt	Wed Jun 07 11:54:12 2017 +0200
     1.3 @@ -1,34 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="advancecomp"
     1.7 -VERSION="1.20"
     1.8 +VERSION="1.23"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Recompression utilities for .ZIP, .PNG, .MNG and .GZ"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://advancemame.sourceforge.net/comp-readme.html"
    1.14 +WEB_SITE="http://www.advancemame.it/comp-readme"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="https://github.com/amadvance/advancecomp/releases/download/v$VERSION/$TARBALL"
    1.17 +WGET_URL="https://github.com/amadvance/advancecomp/archive/v$VERSION.tar.gz"
    1.18  TAGS="compression archive"
    1.19  
    1.20  DEPENDS="gcc-lib-base zlib"
    1.21 -BUILD_DEPENDS="zlib-dev wget"
    1.22 +BUILD_DEPENDS="automake zlib-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--infodir=/usr/share/info \
    1.30 -		--mandir=/usr/share/man \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	patch -p1 -i $stuff/advancecomp.patch
    1.35 +
    1.36 +	./autogen.sh &&
    1.37 +	./configure $CONFIGURE_ARGS && make && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 +	cook_copy_folders bin
    1.46  }