wok-4.x annotate eboard/receipt @ rev 5000
[d-e]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 14:11:33 2010 +0100 (2010-02-28) |
parents | 31c985a0bd3d |
children | 4fcc858c8d57 |
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@4596 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4596 | 9 WEB_SITE="http://www.bergo.eng.fr/eboard/" |
pascal@4596 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@5000 | 11 DEPENDS="gtk+ gcc-lib-base" |
pascal@4596 | 12 BUILD_DEPENDS="gtk+-dev perl zlib-dev" |
pascal@4596 | 13 SUGGESTED="gnuchess" |
jozee@4935 | 14 TAGS="chess" |
pascal@4596 | 15 |
pascal@4596 | 16 # Rules to configure and make the package. |
pascal@4596 | 17 compile_rules() |
pascal@4596 | 18 { |
pascal@4596 | 19 cd $src |
pascal@4596 | 20 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc |
pascal@4596 | 21 ./configure \ |
pascal@4596 | 22 --prefix=/usr \ |
pascal@4596 | 23 --mandir=/usr/share/man \ |
pascal@4596 | 24 $CONFIGURE_ARGS && |
pascal@4596 | 25 make && |
pascal@4596 | 26 make DESTDIR=$PWD/_pkg install |
pascal@4596 | 27 } |
pascal@4596 | 28 |
pascal@4596 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4596 | 30 genpkg_rules() |
pascal@4596 | 31 { |
pascal@4596 | 32 mkdir -p $fs/usr/share/application |
pascal@4596 | 33 cp -a $_pkg/usr/share $fs/usr |
pascal@4596 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@4596 | 35 cp $src/r18.xpm $fs/usr/share/eboard/eboard.xpm |
pascal@4596 | 36 cp stuff/eboard.desktop $fs/usr/share/application |
pascal@4596 | 37 } |
pascal@4596 | 38 |