wok-next view eboard/receipt @ rev 4935

add/improve TAGS e* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 13:39:45 2010 +0000 (2010-02-16)
parents 3eeb4a1db996
children 6e90579538d6
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+"
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 }