wok-next view eboard/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 96fe7857bbdd
line source
1 # SliTaz package receipt v2.
3 PACKAGE="eboard"
4 VERSION="1.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Chess board interface"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.bergo.eng.fr/eboard/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev perl zlib-dev"
16 compile_rules() {
17 sed -i 's/pngp->//g' cimg.cc
18 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
20 ./configure \
21 --prefix=/usr \
22 --man-prefix=/usr/share/man \
23 --extra-libs=dl \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $install/usr/share $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
34 DEPENDS="gtk2 gcc-lib-base"
35 SUGGESTED="gnuchess"
36 TAGS="chess"
37 }