wok-next diff arj/receipt @ rev 20519

Synchronize wok-hg with wok. Some yesterday's patches are lost :(
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 10:45:35 2018 +0200 (2018-03-23)
parents 492f564c3a72
children d5aab818505e
line diff
     1.1 --- a/arj/receipt	Sat May 13 17:25:31 2017 +0300
     1.2 +++ b/arj/receipt	Fri Mar 23 10:45:35 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="arj"
     1.8  VERSION="3.10.22"
     1.9 @@ -7,23 +7,20 @@
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="http://arj.sourceforge.net/"
    1.13 -TAGS="compression archive"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18  BUILD_DEPENDS="automake"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +compile_rules() {
    1.24  	cd $src/gnu
    1.25  	aclocal
    1.26  	autoconf
    1.27  	rm -f config.guess config.sub
    1.28 -	am="$(automake --version|head -n1|sed -r 's/.*\) (.*)/\1/')"
    1.29 -	cp /usr/share/automake-"$am"/config.guess .
    1.30 -	cp /usr/share/automake-"$am"/config.sub .
    1.31 +#	am=$(automake --version|head -n1|sed -r 's/.*\) (.*)/\1/')
    1.32 +	cp /usr/share/automake-*/config.guess .
    1.33 +	cp /usr/share/automake-*/config.sub .
    1.34  
    1.35  	./configure $CONFIGURE_ARGS
    1.36  	cd ..
    1.37 @@ -32,8 +29,7 @@
    1.38  	make DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 +genpkg_rules() {
    1.45  	copy @std
    1.46 +	TAGS="compression archive"
    1.47  }