wok view openspades/receipt @ rev 22767

updated foomatic-filters (4.0.5 -> 4.0.17)
author Hans-G?nter Theisgen
date Sat Jan 25 14:46:57 2020 +0100 (2020-01-25)
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 }