wok-next annotate eboard/receipt @ rev 21351
updated faad2 (2.8.8 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 10 07:14:21 2020 +0100 (2020-04-10) |
parents | f48456621a9d |
children | 96fe7857bbdd |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
pascal@4596 | 2 |
pascal@4596 | 3 PACKAGE="eboard" |
pascal@4596 | 4 VERSION="1.1.1" |
pascal@4596 | 5 CATEGORY="games" |
al@21017 | 6 SHORT_DESC="Chess board interface" |
pascal@4596 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@21017 | 9 WEB_SITE="http://www.bergo.eng.fr/eboard/" |
al@21017 | 10 |
pascal@4596 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4596 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15000 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev perl zlib-dev" |
pascal@4596 | 15 |
al@21017 | 16 compile_rules() { |
pascal@20213 | 17 sed -i 's/pngp->//g' cimg.cc |
pascal@4596 | 18 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc |
al@21017 | 19 |
pascal@4596 | 20 ./configure \ |
pascal@4596 | 21 --prefix=/usr \ |
pascal@19290 | 22 --man-prefix=/usr/share/man \ |
pascal@13834 | 23 --extra-libs=dl \ |
pascal@4596 | 24 $CONFIGURE_ARGS && |
pascal@4596 | 25 make && |
al@21020 | 26 make DESTDIR=$install install |
pascal@4596 | 27 } |
pascal@4596 | 28 |
al@21017 | 29 genpkg_rules() { |
samuel_trassare@12050 | 30 mkdir -p $fs/usr/share/pixmaps |
pascal@15000 | 31 cp -a $install/usr/share $fs/usr |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
samuel_trassare@12050 | 33 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm |
al@21017 | 34 DEPENDS="gtk2 gcc-lib-base" |
al@21017 | 35 SUGGESTED="gnuchess" |
al@21017 | 36 TAGS="chess" |
pascal@4596 | 37 } |