wok annotate eboard/receipt @ rev 17082
Up: tramys-server and tramys-client (140824).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 24 22:46:59 2014 +0300 (2014-08-24) |
parents | 7810e25e369d |
children | f6af821600e6 |
rev | line source |
---|---|
pascal@4596 | 1 # SliTaz package receipt. |
pascal@4596 | 2 |
pascal@4596 | 3 PACKAGE="eboard" |
pascal@4596 | 4 VERSION="1.1.1" |
pascal@4596 | 5 CATEGORY="games" |
pascal@4596 | 6 SHORT_DESC="Chess board interface." |
pascal@4596 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@4596 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4596 | 10 WEB_SITE="http://www.bergo.eng.fr/eboard/" |
pascal@4596 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15000 | 12 SUGGESTED="gnuchess" |
pascal@15000 | 13 TAGS="chess" |
pascal@15000 | 14 |
pascal@5000 | 15 DEPENDS="gtk+ gcc-lib-base" |
pascal@4596 | 16 BUILD_DEPENDS="gtk+-dev perl zlib-dev" |
pascal@4596 | 17 |
pascal@4596 | 18 # Rules to configure and make the package. |
pascal@4596 | 19 compile_rules() |
pascal@4596 | 20 { |
pascal@4596 | 21 cd $src |
pascal@4596 | 22 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc |
pascal@4596 | 23 ./configure \ |
pascal@4596 | 24 --prefix=/usr \ |
pascal@4596 | 25 --mandir=/usr/share/man \ |
pascal@13834 | 26 --extra-libs=dl \ |
pascal@4596 | 27 $CONFIGURE_ARGS && |
pascal@4596 | 28 make && |
pascal@15000 | 29 make DESTDIR=$DESTDIR install |
pascal@4596 | 30 } |
pascal@4596 | 31 |
pascal@4596 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4596 | 33 genpkg_rules() |
pascal@4596 | 34 { |
samuel_trassare@12050 | 35 mkdir -p $fs/usr/share/pixmaps |
pascal@15000 | 36 cp -a $install/usr/share $fs/usr |
pascal@15000 | 37 cp -a $install/usr/bin $fs/usr |
samuel_trassare@12050 | 38 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm |
pascal@4596 | 39 } |
pascal@4596 | 40 |