wok-6.x view eboard/receipt @ rev 14203
linux-libre: fix check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 10:38:19 2013 +0100 (2013-03-14) |
parents | 08318790553b |
children | 380ffe05937a |
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 --extra-libs=dl \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/share $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
37 }