# HG changeset patch # User Aleksej Bobylev # Date 1528303571 -10800 # Node ID 3624b95f4aac76621fb715bf0f255eee2e091bb6 # Parent 1773b8ddb2b026cb1dda4bc061c5104279cd6db6 gnuchess: up (6.2.5) diff -r 1773b8ddb2b0 -r 3624b95f4aac gnuchess/receipt --- a/gnuchess/receipt Wed Jun 06 18:33:39 2018 +0300 +++ b/gnuchess/receipt Wed Jun 06 19:46:11 2018 +0300 @@ -1,33 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnuchess" -VERSION="6.0.1" +VERSION="6.2.5" CATEGORY="games" -SHORT_DESC="GNU Chess lets most modern computers play a full game of chess." +SHORT_DESC="GNU Chess lets most modern computers play a full game of chess" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/chess/chess.html" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/chess/chess.html" WGET_URL="$GNU_MIRROR/chess/$TARBALL" -DEPENDS="ncurses readline" -BUILD_DEPENDS="ncurses-dev readline-dev" -TAGS="chess" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h - #sed -i 's/input_thread/static_input_thread/' src/input.c - ./configure \ - --libexecdir=/usr/lib \ - $CONFIGURE_ARGS && +BUILD_DEPENDS="ncurses-dev readline-dev gettext" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && - make -j1 install + make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="readline" + TAGS="chess" }