wok-next rev 21393

updated openspades (0.0.12 -> 0.1.3)
author Hans-G?nter Theisgen
date Fri Apr 17 17:21:08 2020 +0100 (2020-04-17)
parents 09f223623069
children a0a60003da9d
files openspades/receipt
line diff
     1.1 --- a/openspades/receipt	Fri Apr 17 16:55:18 2020 +0100
     1.2 +++ b/openspades/receipt	Fri Apr 17 17:21:08 2020 +0100
     1.3 @@ -1,38 +1,38 @@
     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  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="GPL3"
    1.13 -WEB_SITE="http://openspades.yvt.jp/"
    1.14 +WEB_SITE="https://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 -BUILD_DEPENDS="gcc49 cmake sdl2-dev sdl2-image-dev freealut-dev mesa-dev \
    1.20 -glew-dev curl-dev imagemagick grep unzip"
    1.21 +BUILD_DEPENDS="cmake curl-dev freealut-dev glew-dev grep 
    1.22 +	imagemagick mesa-dev sdl2-dev sdl2-image-dev unzip"
    1.23  
    1.24 -compile_rules() {
    1.25 -	export CXX=/usr/bin/i486-slitaz-linux-g++-49
    1.26 -
    1.27 +compile_rules()
    1.28 +{
    1.29  	mkdir build
    1.30  	cd    build
    1.31 -	cmake \
    1.32 -		-DCMAKE_INSTALL_PREFIX=/usr \
    1.33 -		-DCMAKE_BUILD_TYPE=Release \
    1.34 -		-DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
    1.35 -		-DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
    1.36 -		-DOPENSPADES_INSTALL_BINARY=bin \
    1.37 -		.. &&
    1.38 +	cmake	..								\
    1.39 +		-DCMAKE_INSTALL_PREFIX=/usr					\
    1.40 +		-DCMAKE_BUILD_TYPE=Release					\
    1.41 +		-DOPENSPADES_RESDIR=/usr/share/openspades/Resources		\
    1.42 +		-DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources	\
    1.43 +		-DOPENSPADES_INSTALL_BINARY=bin &&
    1.44  	make -j1 &&
    1.45  	make DESTDIR=$install install
    1.46  }
    1.47  
    1.48 -genpkg_rules() {
    1.49 -	cp -a $install/* $fs
    1.50 -	DEPENDS="gcc49-lib-base glew glibc-base libcurl glu sdl2 sdl2-image \
    1.51 -	libxcb mesa util-linux-uuid libice libsm libx11 \
    1.52 -	libxau libxdmcp libxext zlib"
    1.53 +genpkg_rules()
    1.54 +{
    1.55 +	cp -a $install/*	$fs
    1.56 +
    1.57 +	DEPENDS="glew glibc-base glu libcurl libice libsm libx11 
    1.58 +		libxau libxcb libxdmcp libxext mesa sdl2 sdl2-image 
    1.59 +		util-linux-uuid zlib"
    1.60  }