wok-next diff gawk/receipt @ rev 20690

add missing SHA256sums
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:36:47 2018 +0000 (2018-05-21)
parents 7387df590f12
children d224c2b13c81
line diff
     1.1 --- a/gawk/receipt	Tue Jun 06 17:37:54 2017 +0300
     1.2 +++ b/gawk/receipt	Mon May 21 19:36:47 2018 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL3"
     1.6  WEB_SITE="http://www.gnu.org/software/gawk/"
     1.7 -HOST_ARCH="i486 arm"
     1.8 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gawk.html"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12 @@ -16,25 +16,23 @@
    1.13  SPLIT="gawk-dev"
    1.14  
    1.15  # Rules to compile & install the temporary toolchain.
    1.16 -cook_tmp_toolchain()
    1.17 -{
    1.18 +cook_tmp_toolchain() {
    1.19  	cd $src
    1.20  	./configure && make && make install
    1.21  }
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure $CONFIGURE_ARGS && make && make install
    1.27 +compile_rules() {
    1.28 +	./configure $CONFIGURE_ARGS && make && make install || return 1
    1.29 +
    1.30 +	cook_pick_docs doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	case $PACKAGE in
    1.38  		gawk)
    1.39  			copy @std
    1.40  			DEPENDS="readline"
    1.41 +			TAGS="LFS"
    1.42  			;;
    1.43  		*-dev) copy @dev;;
    1.44  	esac