wok view gnuchess/receipt @ rev 23607

Up slitaz-boot-scripts (459)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 12 10:18:55 2020 +0000 (2020-04-12)
parents 2b9f96603415
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuchess"
4 VERSION="6.2.5"
5 CATEGORY="games"
6 TAGS="chess"
7 SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/chess/chess.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/chess/$TARBALL"
15 DEPENDS="ncurses readline"
16 BUILD_DEPENDS="ncurses-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
22 #sed -i 's/input_thread/static_input_thread/' src/input.c
24 ./configure \
25 --libexecdir=/usr/lib \
26 $CONFIGURE_ARGS &&
27 make -j1 &&
28 make -j1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }