wok-current annotate gnuchess/receipt @ rev 14669

efreet: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:08:25 2013 +0200 (2013-06-06)
parents b5d06f4fa20f
children 2b9f96603415
rev   line source
pascal@4567 1 # SliTaz package receipt.
pascal@4567 2
pascal@4567 3 PACKAGE="gnuchess"
slaxemulator@11110 4 VERSION="6.0.1"
pascal@4567 5 CATEGORY="games"
pascal@4567 6 SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
pascal@4567 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4567 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4567 9 WEB_SITE="http://www.gnu.org/software/chess/chess.html"
pascal@4567 10 WGET_URL="$GNU_MIRROR/chess/$TARBALL"
pascal@4567 11 DEPENDS="ncurses readline"
pascal@4567 12 BUILD_DEPENDS="ncurses-dev readline-dev"
pascal@13041 13 TAGS="chess"
pascal@4567 14
pascal@4567 15 # Rules to configure and make the package.
pascal@4567 16 compile_rules()
pascal@4567 17 {
pascal@4567 18 cd $src
slaxemulator@10160 19 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
slaxemulator@10160 20 #sed -i 's/input_thread/static_input_thread/' src/input.c
pascal@4567 21 ./configure \
pascal@4567 22 --libexecdir=/usr/lib \
pascal@4567 23 $CONFIGURE_ARGS &&
pascal@4567 24 make &&
slaxemulator@10160 25 make -j1 install
pascal@4567 26 }
pascal@4567 27
pascal@4567 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4567 29 genpkg_rules()
pascal@4567 30 {
pascal@4567 31 cp -a $_pkg/usr $fs
pascal@4567 32 }