wok-6.x rev 24610

updated gnuchess (6.2.5 -> 6.2.9)
author Hans-G?nter Theisgen
date Fri Mar 04 07:33:14 2022 +0100 (2022-03-04)
parents 8acd54cd1f4f
children 1a24a6d0a088
files gnuchess-lang/receipt gnuchess/description.txt gnuchess/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnuchess-lang/receipt	Fri Mar 04 07:33:14 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnuchess-lang"
     1.7 +VERSION="6.2.9"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="GNU Chess lets most modern computers play a full game of chess - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://www.gnu.org/software/chess/chess.html"
    1.13 +
    1.14 +WANTED="gnuchess"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gnuchess/description.txt	Fri Mar 04 07:33:14 2022 +0100
     2.3 @@ -0,0 +1,4 @@
     2.4 +GNU Chess is a chess-playing program.
     2.5 +It can be used to play chess against the computer on a terminal or,
     2.6 +more commonly, as a chess engine for graphical chess frontends such
     2.7 +as XBoard.
     3.1 --- a/gnuchess/receipt	Fri Mar 04 07:12:36 2022 +0100
     3.2 +++ b/gnuchess/receipt	Fri Mar 04 07:33:14 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="gnuchess"
     3.7 -VERSION="6.2.5"
     3.8 +VERSION="6.2.9"
     3.9  CATEGORY="games"
    3.10  TAGS="chess"
    3.11  SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
    3.12 @@ -12,6 +12,7 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14  WGET_URL="$GNU_MIRROR/chess/$TARBALL"
    3.15  
    3.16 +SUGGESTED="gnuchess-lang"
    3.17  DEPENDS="ncurses readline"
    3.18  BUILD_DEPENDS="ncurses-dev readline-dev"
    3.19  
    3.20 @@ -28,15 +29,21 @@
    3.21  	#find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
    3.22  	#sed -i 's/input_thread/static_input_thread/' src/input.c
    3.23  
    3.24 -	./configure \
    3.25 -		--libexecdir=/usr/lib \
    3.26 +	chmod	a+x	install-sh &&
    3.27 +
    3.28 +	./configure			\
    3.29 +		--libexecdir=/usr/lib	\
    3.30  		$CONFIGURE_ARGS &&
    3.31 -	make -j1 &&
    3.32 -	make -j1 install
    3.33 +	make &&
    3.34 +	make install
    3.35  }
    3.36  
    3.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.38  genpkg_rules()
    3.39  {
    3.40 -	cp -a $install/usr $fs
    3.41 +	cp -a $install/usr	$fs
    3.42 +	rm -rf			$fs/usr/share/man
    3.43 +
    3.44 +	# moved to package gnuchess-lang
    3.45 +	rm -rf			$fs/usr/share/locale
    3.46  }