wok-next view openspades/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 0f2575775b2d |
children |
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="https://openspades.yvt.jp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake curl-dev freealut-dev glew-dev grep
15 imagemagick mesa-dev sdl2-dev sdl2-image-dev unzip"
17 compile_rules()
18 {
19 mkdir build
20 cd build
21 cmake .. \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
25 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
26 -DOPENSPADES_INSTALL_BINARY=bin &&
27 make -j1 &&
28 make DESTDIR=$install install
29 }
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
35 DEPENDS="glew glibc-base glu libcurl libice libsm libx11
36 libxau libxcb libxdmcp libxext mesa sdl2 sdl2-image
37 util-linux-uuid zlib"
38 }