wok-6.x annotate gnuchess/receipt @ rev 20981
updated gnuchess (6.0.1 -> 6.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 06 15:46:13 2019 +0100 (2019-03-06) |
parents | 2b9f96603415 |
children | 71360a13cd94 |
rev | line source |
---|---|
pascal@4567 | 1 # SliTaz package receipt. |
pascal@4567 | 2 |
pascal@4567 | 3 PACKAGE="gnuchess" |
Hans-G?nter@20981 | 4 VERSION="6.2.5" |
pascal@4567 | 5 CATEGORY="games" |
Hans-G?nter@20981 | 6 TAGS="chess" |
pascal@4567 | 7 SHORT_DESC="GNU Chess lets most modern computers play a full game of chess." |
pascal@4567 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
Hans-G?nter@20981 | 10 WEB_SITE="https://www.gnu.org/software/chess/chess.html" |
Hans-G?nter@20981 | 11 |
pascal@4567 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4567 | 13 WGET_URL="$GNU_MIRROR/chess/$TARBALL" |
Hans-G?nter@20981 | 14 |
pascal@4567 | 15 DEPENDS="ncurses readline" |
pascal@4567 | 16 BUILD_DEPENDS="ncurses-dev readline-dev" |
pascal@4567 | 17 |
pascal@4567 | 18 # Rules to configure and make the package. |
pascal@4567 | 19 compile_rules() |
pascal@4567 | 20 { |
slaxemulator@10160 | 21 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h |
slaxemulator@10160 | 22 #sed -i 's/input_thread/static_input_thread/' src/input.c |
Hans-G?nter@20981 | 23 |
pascal@4567 | 24 ./configure \ |
pascal@4567 | 25 --libexecdir=/usr/lib \ |
pascal@4567 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@20981 | 27 make -j1 && |
slaxemulator@10160 | 28 make -j1 install |
pascal@4567 | 29 } |
pascal@4567 | 30 |
pascal@4567 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4567 | 32 genpkg_rules() |
pascal@4567 | 33 { |
pascal@14999 | 34 cp -a $install/usr $fs |
pascal@4567 | 35 } |