wok view eboard/receipt @ rev 13775

Up slitaz-tools (5.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 03 15:11:11 2013 +0100 (2013-01-03)
parents 6e90579538d6
children 08318790553b
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/pixmaps
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
36 }