wok-stable view eboard/receipt @ rev 10586

python-pygame: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 11:57:26 2011 +0200 (2011-05-26)
parents 31c985a0bd3d
children 4fcc858c8d57
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.bergo.eng.fr/eboard/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="gtk+ gcc-lib-base"
12 BUILD_DEPENDS="gtk+-dev perl zlib-dev"
13 SUGGESTED="gnuchess"
14 TAGS="chess"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/application
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp $src/r18.xpm $fs/usr/share/eboard/eboard.xpm
36 cp stuff/eboard.desktop $fs/usr/share/application
37 }