wok view eboard/receipt @ rev 19605

kmod: link dynamically with libkmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 04 10:42:55 2017 +0100 (2017-01-04)
parents 380ffe05937a
children f80f3155769e
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/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=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 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/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
38 }