wok view eboard/receipt @ rev 23513

busybox: musl & diet may fail
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 11:53:42 2020 +0200 (2020-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 }