wok view gnuchess/receipt @ rev 7159
Fixed post_install function in virtualbox-ose to use the right kernel version.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 02:10:16 2010 +0000 (2010-11-07) |
parents | |
children | 31ba4f705fa2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuchess"
4 VERSION="5.07"
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 --prefix=/usr \
22 --libexecdir=/usr/lib \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $_pkg/usr $fs
34 }