wok diff eboard/receipt @ rev 23008

consonance: added build dependency gcc83
author Hans-G?nter Theisgen
date Tue Mar 03 07:08:14 2020 +0100 (2020-03-03)
parents f6af821600e6
children 5ea0ce1cecc0
line diff
     1.1 --- a/eboard/receipt	Wed Jul 06 10:06:06 2016 +0200
     1.2 +++ b/eboard/receipt	Tue Mar 03 07:08:14 2020 +0100
     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  }