wok-next view eboard/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
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="http://www.bergo.eng.fr/eboard/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/fbergo/$PACKAGE/archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="gstreamer1-dev gtk2-dev perl zlib-dev"
17 compile_rules()
18 {
19 sed -i 's/pngp->//g' cimg.cc
20 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
22 ./configure \
23 --prefix=/usr \
24 --man-prefix=/usr/share/man \
25 --extra-libs=dl \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$install install
29 }
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
35 cp -a $install/usr/share $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp $src/xpm/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
38 DEPENDS="gcc-lib-base gstreamer1 gtk2"
39 SUGGESTED="gnuchess"
40 }