wok-next view eboard/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 83527677b729 |
children | d5aab818505e |
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=$DESTDIR 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 }