wok diff bzflag/receipt @ rev 22574

updated bzflag (2.4.0 -> 2.4.18)
author Hans-G?nter Theisgen
date Mon Jan 06 15:51:49 2020 +0100 (2020-01-06)
parents 3705d68ed8f3
children 5f6c5106b1f5
line diff
     1.1 --- a/bzflag/receipt	Sat Feb 24 12:51:10 2018 +0100
     1.2 +++ b/bzflag/receipt	Mon Jan 06 15:51:49 2020 +0100
     1.3 @@ -1,34 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bzflag"
     1.7 -VERSION="2.4.0"
     1.8 +VERSION="2.4.18"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="A multiplayer 3D tank battle game."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="LGPL2.1"
    1.13 +WEB_SITE="https://bzflag.org"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://bzflag.org"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="curl mesa libsdl glew"
    1.20 -BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-uuid-dev"
    1.21 +DEPENDS="c-ares curl gcc83-lib-base glew libsdl mesa"
    1.22 +BUILD_DEPENDS="c-ares-dev curl-dev gcc83 glew-dev libsdl-dev 
    1.23 +	mesa-dev util-linux-uuid-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	sed -i 's|uname -m|echo i486|' package/Makefile* src/other/glew/config/Makefile.linux
    1.29 +	sed -i 's|uname -m|echo i486|' \
    1.30 +		package/Makefile*
    1.31 +#		src/other/glew/config/Makefile.linux
    1.32 +
    1.33  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
    1.34 -	./configure \
    1.35 -		--with-glew \
    1.36 +
    1.37 +	./configure		\
    1.38 +		CC=gcc-83	\
    1.39 +		CXX=g++-83	\
    1.40  		$CONFIGURE_ARGS &&
    1.41 -	make && make DESTDIR=$DESTDIR install
    1.42 +	make &&
    1.43 +	make DESTDIR=$DESTDIR install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49  	mkdir -p $fs/usr/share
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 -	cp -a $install/usr/share/bzflag $fs/usr/share
    1.52 +
    1.53 +	cp -a $install/usr/bin		$fs/usr
    1.54 +	cp -a $install/usr/share/bzflag	$fs/usr/share
    1.55  }
    1.56 -