wok-current view gnuchess/receipt @ rev 10748
Moved catalyst, linmodem-hsfmodem, linmodem-slmodem to undigest
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 12:34:37 2011 +0200 (2011-05-30) |
parents | 0bd1af3d9d21 |
children | b5d06f4fa20f |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuchess"
4 VERSION="6.0.0"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
19 #sed -i 's/input_thread/static_input_thread/' src/input.c
20 ./configure \
21 --libexecdir=/usr/lib \
22 $CONFIGURE_ARGS &&
23 make &&
24 make -j1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 }