wok-current view openspades/receipt @ rev 21927
updated socat (2.0.0-b7 -> 2.0.0-b8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 05 21:31:52 2019 +0100 (2019-10-05) |
parents | 4685406923f5 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openspades"
4 VERSION="0.1.3"
5 CATEGORY="games"
6 SHORT_DESC="Compatible client of Ace of Spades 0.75."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://openspades.yvt.jp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \
15 libsdl2-image libxcb mesa util-linux-uuid xorg-libICE \
16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
17 BUILD_DEPENDS="cmake curl-dev file freealut-dev gcc83 glew-dev grep \
18 imagemagick libogg-dev libsdl2-dev libsdl2-image-dev mesa-dev \
19 opusfile-dev unzip zip"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # patch -p1 -i $stuff/$PACKAGE-$VERSION.patch
26 export CC=gcc-83
27 export CXX=g++-83
29 mkdir build
30 cd build
31 cmake .. \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DCMAKE_BUILD_TYPE=Release \
34 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
35 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
36 -DOPENSPADES_INSTALL_BINARY=bin &&
37 make -j1 &&
38 make DESTDIR=$install install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }