wok view gnuchess/receipt @ rev 17308
Up: slitaz-tools, slitaz-tools-boxes (5.8.10)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 01 19:07:11 2014 +0200 (2014-11-01) |
parents | a0250385f2a5 |
children | 105a5deb6ca5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuchess"
4 VERSION="6.0.1"
5 CATEGORY="games"
6 SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/chess/chess.html"
11 WGET_URL="$GNU_MIRROR/chess/$TARBALL"
12 DEPENDS="ncurses readline"
13 BUILD_DEPENDS="ncurses-dev readline-dev"
14 TAGS="chess"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
21 #sed -i 's/input_thread/static_input_thread/' src/input.c
22 ./configure \
23 --libexecdir=/usr/lib \
24 $CONFIGURE_ARGS &&
25 make &&
26 make -j1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }