wok diff gnuchess/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 71360a13cd94
children d79ed38ace18
line diff
     1.1 --- a/gnuchess/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/gnuchess/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gnuchess"
     1.7 -VERSION="6.2.5"
     1.8 +VERSION="6.2.9"
     1.9  CATEGORY="games"
    1.10  TAGS="chess"
    1.11  SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
    1.12 @@ -12,6 +12,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$GNU_MIRROR/chess/$TARBALL"
    1.15  
    1.16 +SUGGESTED="gnuchess-lang"
    1.17  DEPENDS="ncurses readline"
    1.18  BUILD_DEPENDS="ncurses-dev readline-dev"
    1.19  
    1.20 @@ -28,15 +29,21 @@
    1.21  	#find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
    1.22  	#sed -i 's/input_thread/static_input_thread/' src/input.c
    1.23  
    1.24 -	./configure \
    1.25 -		--libexecdir=/usr/lib \
    1.26 +	chmod	a+x	install-sh &&
    1.27 +
    1.28 +	./configure			\
    1.29 +		--libexecdir=/usr/lib	\
    1.30  		$CONFIGURE_ARGS &&
    1.31 -	make -j1 &&
    1.32 -	make -j1 install
    1.33 +	make &&
    1.34 +	make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	cp -a $install/usr $fs
    1.41 +	cp -a $install/usr	$fs
    1.42 +	rm -rf			$fs/usr/share/man
    1.43 +
    1.44 +	# moved to package gnuchess-lang
    1.45 +	rm -rf			$fs/usr/share/locale
    1.46  }