wok-6.x view eboard/receipt @ rev 18375

simh: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 09:57:26 2015 +0200 (2015-09-17)
parents 7810e25e369d
children f6af821600e6
line source
1 # SliTaz package receipt.
3 PACKAGE="eboard"
4 VERSION="1.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Chess board interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.bergo.eng.fr/eboard/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 SUGGESTED="gnuchess"
13 TAGS="chess"
15 DEPENDS="gtk+ gcc-lib-base"
16 BUILD_DEPENDS="gtk+-dev perl zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 --extra-libs=dl \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $install/usr/share $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
39 }