wok-current view eboard/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 5ea0ce1cecc0
children
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's/strchr(text/strchr((char *)text/' \
29 ntext.cc
30 mkdir -p $install/usr/share/eboard
32 ./configure \
33 --prefix=/usr \
34 --man-prefix=/usr/share/man \
35 --extra-libs=dl \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/pixmaps
46 cp -a $install/usr/share $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp $src/xpm/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
49 }