wok-next view eboard/receipt @ rev 4674
Up: python-formalchemy (1.3.1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Dec 29 18:34:26 2009 +0000 (2009-12-29) |
parents | |
children | 31c985a0bd3d |
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/application
32 cp -a $_pkg/usr/share $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp $src/r18.xpm $fs/usr/share/eboard/eboard.xpm
35 cp stuff/eboard.desktop $fs/usr/share/application
36 }