wok-current view eboard/receipt @ rev 24032
modified get-teamviewer to be able to fetch versions < 13
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 06 14:38:05 2021 +0100 (2021-04-06) |
parents | f6af821600e6 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="eboard"
4 VERSION="1.1.3"
5 CATEGORY="games"
6 TAGS="chess"
7 SHORT_DESC="Chess board interface."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/fbergo/eboard/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
15 SUGGESTED="gnuchess"
16 DEPENDS="gtk+ gcc-lib-base"
17 BUILD_DEPENDS="gstreamer-1.0-dev gtk+-dev perl zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/strchr(text/strchr((char *)text/' \
23 ntext.cc
24 mkdir -p $install/usr/share/eboard
26 ./configure \
27 --prefix=/usr \
28 --man-prefix=/usr/share/man \
29 --extra-libs=dl \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/pixmaps
40 cp -a $install/usr/share $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp $src/xpm/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
43 }