wok annotate eboard/receipt @ rev 24034
Openssh (8.5p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 09:21:26 2021 +0000 (2021-04-08) |
parents | f6af821600e6 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@4596 | 1 # SliTaz package receipt. |
pascal@4596 | 2 |
pascal@4596 | 3 PACKAGE="eboard" |
Hans-G?nter@22745 | 4 VERSION="1.1.3" |
pascal@4596 | 5 CATEGORY="games" |
Hans-G?nter@22745 | 6 TAGS="chess" |
pascal@4596 | 7 SHORT_DESC="Chess board interface." |
pascal@4596 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@22745 | 10 WEB_SITE="https://github.com/fbergo/eboard/" |
Hans-G?nter@22745 | 11 |
Hans-G?nter@22745 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22745 | 13 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz" |
Hans-G?nter@22745 | 14 |
pascal@15000 | 15 SUGGESTED="gnuchess" |
pascal@5000 | 16 DEPENDS="gtk+ gcc-lib-base" |
Hans-G?nter@22745 | 17 BUILD_DEPENDS="gstreamer-1.0-dev gtk+-dev perl zlib-dev" |
pascal@4596 | 18 |
pascal@4596 | 19 # Rules to configure and make the package. |
pascal@4596 | 20 compile_rules() |
pascal@4596 | 21 { |
Hans-G?nter@22745 | 22 sed -i 's/strchr(text/strchr((char *)text/' \ |
Hans-G?nter@22745 | 23 ntext.cc |
Hans-G?nter@22745 | 24 mkdir -p $install/usr/share/eboard |
Hans-G?nter@22745 | 25 |
Hans-G?nter@22745 | 26 ./configure \ |
Hans-G?nter@22745 | 27 --prefix=/usr \ |
Hans-G?nter@22745 | 28 --man-prefix=/usr/share/man \ |
Hans-G?nter@22745 | 29 --extra-libs=dl \ |
pascal@4596 | 30 $CONFIGURE_ARGS && |
pascal@4596 | 31 make && |
pascal@15000 | 32 make DESTDIR=$DESTDIR install |
pascal@4596 | 33 } |
pascal@4596 | 34 |
pascal@4596 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4596 | 36 genpkg_rules() |
pascal@4596 | 37 { |
samuel_trassare@12050 | 38 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22745 | 39 |
Hans-G?nter@22745 | 40 cp -a $install/usr/share $fs/usr |
Hans-G?nter@22745 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22745 | 42 cp $src/xpm/r18.xpm $fs/usr/share/pixmaps/eboard.xpm |
pascal@4596 | 43 } |