wok diff openspades/receipt @ rev 20557
Up iperf (2.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:18:52 2018 +0100 (2018-12-12) |
parents | |
children | 4685406923f5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openspades/receipt Wed Dec 12 18:18:52 2018 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openspades" 1.7 +VERSION="0.0.12" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Compatible client of Ace of Spades 0.75" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="http://openspades.yvt.jp/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="gcc49-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \ 1.17 +libsdl2-image libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \ 1.18 +xorg-libXau xorg-libXdmcp xorg-libXext zlib" 1.19 +BUILD_DEPENDS="gcc49 cmake libsdl2-dev libsdl2-image-dev freealut-dev mesa-dev \ 1.20 +glew-dev curl-dev imagemagick grep unzip" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + patch -p1 -i $stuff/$PACKAGE-$VERSION.patch 1.26 + export CXX=/usr/bin/i486-slitaz-linux-g++-49 1.27 + 1.28 + mkdir build; cd build 1.29 + cmake .. \ 1.30 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.31 + -DCMAKE_BUILD_TYPE=Release \ 1.32 + -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \ 1.33 + -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \ 1.34 + -DOPENSPADES_INSTALL_BINARY=bin \ 1.35 + && 1.36 + make -j1 && 1.37 + make DESTDIR=$install install 1.38 +} 1.39 + 1.40 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 +genpkg_rules() 1.42 +{ 1.43 + cp -a $install/* $fs 1.44 +}