wok-current view gnuchess/receipt @ rev 14683

elementary-dev: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:10 2013 +0200 (2013-06-06)
parents b5d06f4fa20f
children 2b9f96603415
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/chess/chess.html"
10 WGET_URL="$GNU_MIRROR/chess/$TARBALL"
11 DEPENDS="ncurses readline"
12 BUILD_DEPENDS="ncurses-dev readline-dev"
13 TAGS="chess"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
20 #sed -i 's/input_thread/static_input_thread/' src/input.c
21 ./configure \
22 --libexecdir=/usr/lib \
23 $CONFIGURE_ARGS &&
24 make &&
25 make -j1 install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $fs
32 }