wok-4.x view eboard/receipt @ rev 4612

improve post_remove libv4l
author Rohit Joshi <jozee@slitaz.org>
date Wed Dec 16 19:26:37 2009 +0000 (2009-12-16)
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 }