wok diff gnuchess/receipt @ rev 4892
Add: ncdu
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 06 18:10:38 2010 +0000 (2010-02-06) |
parents | |
children | 31ba4f705fa2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnuchess/receipt Sat Feb 06 18:10:38 2010 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnuchess" 1.7 +VERSION="5.07" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="GNU Chess lets most modern computers play a full game of chess." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnu.org/software/chess/chess.html" 1.13 +WGET_URL="$GNU_MIRROR/chess/$TARBALL" 1.14 +DEPENDS="ncurses readline" 1.15 +BUILD_DEPENDS="ncurses-dev readline-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h 1.22 + sed -i 's/input_thread/static_input_thread/' src/input.c 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --libexecdir=/usr/lib \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + cp -a $_pkg/usr $fs 1.37 +}