wok rev 21640

updated openspades (0.0.12 -> 0.1.3)
author Hans-G?nter Theisgen
date Wed May 29 16:59:50 2019 +0100 (2019-05-29)
parents ea8947d8ad9b
children 65c59ca32cb9
files openspades/receipt
line diff
     1.1 --- a/openspades/receipt	Wed May 29 16:50:51 2019 +0100
     1.2 +++ b/openspades/receipt	Wed May 29 16:59:50 2019 +0100
     1.3 @@ -1,35 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openspades"
     1.7 -VERSION="0.0.12"
     1.8 +VERSION="0.1.3"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Compatible client of Ace of Spades 0.75"
    1.11 +SHORT_DESC="Compatible client of Ace of Spades 0.75."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="http://openspades.yvt.jp/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz"
    1.18  
    1.19 -DEPENDS="gcc49-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \
    1.20 -libsdl2-image libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \
    1.21 -xorg-libXau xorg-libXdmcp xorg-libXext zlib"
    1.22 -BUILD_DEPENDS="gcc49 cmake libsdl2-dev libsdl2-image-dev freealut-dev mesa-dev \
    1.23 -glew-dev curl-dev imagemagick grep unzip"
    1.24 +DEPENDS="gcc83-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \
    1.25 +	libsdl2-image libxcb mesa util-linux-uuid xorg-libICE \
    1.26 +	xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
    1.27 +BUILD_DEPENDS="cmake curl-dev file freealut-dev gcc83 glew-dev \
    1.28 +	imagemagick libogg-dev libsdl2-dev libsdl2-image-dev mesa-dev \
    1.29 +	opusfile-dev unzip zip"
    1.30  
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	patch -p1 -i $stuff/$PACKAGE-$VERSION.patch
    1.35 -	export CXX=/usr/bin/i486-slitaz-linux-g++-49
    1.36 +#	patch -p1 -i $stuff/$PACKAGE-$VERSION.patch
    1.37  
    1.38 -	mkdir build; cd build
    1.39 -	cmake .. \
    1.40 -		-DCMAKE_INSTALL_PREFIX=/usr \
    1.41 -		-DCMAKE_BUILD_TYPE=Release \
    1.42 -		-DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
    1.43 +	export CC=gcc-83
    1.44 +	export CXX=g++-83
    1.45 +
    1.46 +	mkdir build
    1.47 +	cd build
    1.48 +	cmake ..							\
    1.49 +		-DCMAKE_INSTALL_PREFIX=/usr				\
    1.50 +		-DCMAKE_BUILD_TYPE=Release				\
    1.51 +		-DOPENSPADES_RESDIR=/usr/share/openspades/Resources	\
    1.52  		-DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
    1.53 -		-DOPENSPADES_INSTALL_BINARY=bin \
    1.54 -		&&
    1.55 +		-DOPENSPADES_INSTALL_BINARY=bin &&
    1.56  	make -j1 &&
    1.57  	make DESTDIR=$install install
    1.58  }