wok-next rev 21534

updated bygfoot (2.2.1 -> 2.3.2)
author Hans-G?nter Theisgen
date Sat Jun 20 17:43:14 2020 +0100 (2020-06-20)
parents 0b4deaef0fcc
children 5fd6f2a9ebd3
files bygfoot/receipt
line diff
     1.1 --- a/bygfoot/receipt	Sat Jun 20 17:30:28 2020 +0100
     1.2 +++ b/bygfoot/receipt	Sat Jun 20 17:43:14 2020 +0100
     1.3 @@ -1,38 +1,41 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="bygfoot"
     1.7 -VERSION="2.2.1"
     1.8 +VERSION="2.3.2"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Manage your own football (soccer) team in a league season"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.bygfoot.com/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION-source.zip"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="gtk2-dev glib-dev pango pango-dev atk-dev freetype-dev"
    1.21 +BUILD_DEPENDS="atk-dev freetype-dev glib-dev gtk2-dev pango pango-dev"
    1.22  
    1.23 -compile_rules() {
    1.24 +compile_rules()
    1.25 +{
    1.26  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.27  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.28  
    1.29  	chmod +x configure
    1.30 -	sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' po/Makefile.in.in
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 -		--bindir=/usr/games \
    1.34 -		--mandir=/usr/share/man \
    1.35 +	sed -i 's/^top_srcdir/top_builddir = @top_builddir@\n&/' \
    1.36 +		po/Makefile.in.in
    1.37 +	./configure			\
    1.38 +		--prefix=/usr		\
    1.39 +		--bindir=/usr/games	\
    1.40 +		--mandir=/usr/share/man	\
    1.41  		$CONFIGURE_ARGS &&
    1.42  	make $MAKEFLAGS &&
    1.43  	make DESTDIR=$install install
    1.44  }
    1.45  
    1.46 -genpkg_rules() {
    1.47 -	mkdir -p $fs/
    1.48 -	cp -a $install/usr $fs/
    1.49 +genpkg_rules()
    1.50 +{
    1.51 +	cp -a $install/usr	$fs
    1.52  
    1.53  	# Copy .desktop file:
    1.54 -	cp -a $stuff/* $fs/usr
    1.55 -	DEPENDS="gtk2 glib pango atk freetype acl"
    1.56 +	cp -a $stuff/*		$fs/usr
    1.57 +
    1.58 +	DEPENDS="acl atk freetype glib gtk2 pango"
    1.59  }