wok-next view eboard/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | f6af821600e6 |
children | f48456621a9d |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.bergo.eng.fr/eboard/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 SUGGESTED="gnuchess"
13 TAGS="chess"
15 DEPENDS="gtk+ gcc-lib-base"
16 BUILD_DEPENDS="gtk+-dev perl zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/pngp->//g' cimg.cc
22 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
23 ./configure \
24 --prefix=/usr \
25 --man-prefix=/usr/share/man \
26 --extra-libs=dl \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $install/usr/share $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
39 }