wok-next rev 20772

gnuchess: up (6.2.5)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 19:46:11 2018 +0300 (2018-06-06)
parents 1773b8ddb2b0
children b9982e09a576
files gnuchess/receipt
line diff
     1.1 --- a/gnuchess/receipt	Wed Jun 06 18:33:39 2018 +0300
     1.2 +++ b/gnuchess/receipt	Wed Jun 06 19:46:11 2018 +0300
     1.3 @@ -1,33 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gnuchess"
     1.8 -VERSION="6.0.1"
     1.9 +VERSION="6.2.5"
    1.10  CATEGORY="games"
    1.11 -SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
    1.12 +SHORT_DESC="GNU Chess lets most modern computers play a full game of chess"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="https://www.gnu.org/software/chess/chess.html"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.gnu.org/software/chess/chess.html"
    1.19  WGET_URL="$GNU_MIRROR/chess/$TARBALL"
    1.20 -DEPENDS="ncurses readline"
    1.21 -BUILD_DEPENDS="ncurses-dev readline-dev"
    1.22 -TAGS="chess"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	#find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
    1.29 -	#sed -i 's/input_thread/static_input_thread/' src/input.c
    1.30 -	./configure \
    1.31 -		--libexecdir=/usr/lib \
    1.32 -		$CONFIGURE_ARGS &&
    1.33 +BUILD_DEPENDS="ncurses-dev readline-dev gettext"
    1.34 +
    1.35 +compile_rules() {
    1.36 +	./configure $CONFIGURE_ARGS &&
    1.37  	make &&
    1.38 -	make -j1 install
    1.39 +	make install
    1.40  }
    1.41  
    1.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.43 -genpkg_rules()
    1.44 -{
    1.45 -	cp -a $install/usr $fs
    1.46 +genpkg_rules() {
    1.47 +	copy @std
    1.48 +	DEPENDS="readline"
    1.49 +	TAGS="chess"
    1.50  }