wok-next rev 21613

updated eboard (1.1.1 -> 1.1.3)
author Hans-G?nter Theisgen
date Thu Jun 25 10:33:28 2020 +0100 (2020-06-25)
parents 420baedeb7cc
children 644f2e1e2ea9
files eboard/receipt
line diff
     1.1 --- a/eboard/receipt	Thu Jun 25 10:20:43 2020 +0100
     1.2 +++ b/eboard/receipt	Thu Jun 25 10:33:28 2020 +0100
     1.3 @@ -1,37 +1,40 @@
     1.4  # SliTaz package receipt v2.
     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  WEB_SITE="http://www.bergo.eng.fr/eboard/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/fbergo/$PACKAGE/archive/v$VERSION.tar.gz"
    1.20  
    1.21 -BUILD_DEPENDS="gtk2-dev perl zlib-dev"
    1.22 +BUILD_DEPENDS="gstreamer1-dev gtk2-dev perl zlib-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 +compile_rules()
    1.26 +{
    1.27  	sed -i 's/pngp->//g' cimg.cc
    1.28  	sed -i 's/strchr(text/strchr((char *)text/' ntext.cc
    1.29  
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--man-prefix=/usr/share/man \
    1.33 -		--extra-libs=dl \
    1.34 +	./configure				\
    1.35 +		--prefix=/usr			\
    1.36 +		--man-prefix=/usr/share/man	\
    1.37 +		--extra-libs=dl			\
    1.38  		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40  	make DESTDIR=$install install
    1.41  }
    1.42  
    1.43 -genpkg_rules() {
    1.44 +genpkg_rules()
    1.45 +{
    1.46  	mkdir -p $fs/usr/share/pixmaps
    1.47 -	cp -a $install/usr/share $fs/usr
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm
    1.50 -	DEPENDS="gtk2 gcc-lib-base"
    1.51 +
    1.52 +	cp -a $install/usr/share	$fs/usr
    1.53 +	cp -a $install/usr/bin		$fs/usr
    1.54 +	cp $src/xpm/r18.xpm		$fs/usr/share/pixmaps/eboard.xpm
    1.55 +	DEPENDS="gcc-lib-base gstreamer1 gtk2"
    1.56  	SUGGESTED="gnuchess"
    1.57 -	TAGS="chess"
    1.58  }