wok-next annotate gnuchess/receipt @ rev 19799

Fix fontconfig: up bdeps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 25 17:25:22 2017 +0300 (2017-06-25)
parents a0250385f2a5
children 3624b95f4aac
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@14999 8 LICENSE="GPL3"
pascal@4567 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4567 10 WEB_SITE="http://www.gnu.org/software/chess/chess.html"
pascal@4567 11 WGET_URL="$GNU_MIRROR/chess/$TARBALL"
pascal@4567 12 DEPENDS="ncurses readline"
pascal@4567 13 BUILD_DEPENDS="ncurses-dev readline-dev"
pascal@13041 14 TAGS="chess"
pascal@4567 15
pascal@4567 16 # Rules to configure and make the package.
pascal@4567 17 compile_rules()
pascal@4567 18 {
pascal@4567 19 cd $src
slaxemulator@10160 20 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
slaxemulator@10160 21 #sed -i 's/input_thread/static_input_thread/' src/input.c
pascal@4567 22 ./configure \
pascal@4567 23 --libexecdir=/usr/lib \
pascal@4567 24 $CONFIGURE_ARGS &&
pascal@4567 25 make &&
slaxemulator@10160 26 make -j1 install
pascal@4567 27 }
pascal@4567 28
pascal@4567 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4567 30 genpkg_rules()
pascal@4567 31 {
pascal@14999 32 cp -a $install/usr $fs
pascal@4567 33 }