wok-next view gnuchess/receipt @ rev 16701
Up: tazpkg (5.3.1): fix bug with installing coreutils-directory package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 26 16:17:01 2014 +0300 (2014-05-26) |
parents | a0250385f2a5 |
children | 3624b95f4aac |
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 }