wok diff eboard/receipt @ rev 23834

Up alsa-lib (1.2.2), apache-ant (1.10.8), apache (2.4.43), lcms2 (2.10), libexit (0.6.22)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 09:10:42 2020 +0000 (2020-06-01)
parents f6af821600e6
children 5ea0ce1cecc0
line diff
     1.1 --- a/eboard/receipt	Wed Jul 06 10:06:06 2016 +0200
     1.2 +++ b/eboard/receipt	Mon Jun 01 09:10:42 2020 +0000
     1.3 @@ -1,28 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="eboard"
     1.7 -VERSION="1.1.1"
     1.8 +VERSION="1.1.3"
     1.9  CATEGORY="games"
    1.10 +TAGS="chess"
    1.11  SHORT_DESC="Chess board interface."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://www.bergo.eng.fr/eboard/"
    1.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17 +WEB_SITE="https://github.com/fbergo/eboard/"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
    1.21 +
    1.22  SUGGESTED="gnuchess"
    1.23 -TAGS="chess"
    1.24 -
    1.25  DEPENDS="gtk+ gcc-lib-base"
    1.26 -BUILD_DEPENDS="gtk+-dev perl zlib-dev"
    1.27 +BUILD_DEPENDS="gstreamer-1.0-dev gtk+-dev perl zlib-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--man-prefix=/usr/share/man \
    1.36 -		--extra-libs=dl \
    1.37 +	sed -i 's/strchr(text/strchr((char *)text/' \
    1.38 +		ntext.cc
    1.39 +	mkdir -p $install/usr/share/eboard
    1.40 +
    1.41 +	./configure				\
    1.42 +		--prefix=/usr			\
    1.43 +		--man-prefix=/usr/share/man	\
    1.44 +		--extra-libs=dl			\
    1.45  		$CONFIGURE_ARGS &&
    1.46  	make &&
    1.47  	make DESTDIR=$DESTDIR install
    1.48 @@ -32,7 +36,8 @@
    1.49  genpkg_rules()
    1.50  {
    1.51  	mkdir -p $fs/usr/share/pixmaps
    1.52 -	cp -a $install/usr/share $fs/usr
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
    1.55 +
    1.56 +	cp -a $install/usr/share	$fs/usr
    1.57 +	cp -a $install/usr/bin		$fs/usr
    1.58 +	cp $src/xpm/r18.xpm		$fs/usr/share/pixmaps/eboard.xpm
    1.59  }