wok-next view openspades/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents 5669e8b3be70
children 78c570d6903c
line source
1 # SliTaz package receipt.
3 PACKAGE="openspades"
4 VERSION="0.0.12"
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 BUILD_DEPENDS="gcc49 cmake sdl2-dev sdl2-image-dev freealut-dev mesa-dev \
15 glew-dev curl-dev imagemagick grep unzip"
17 compile_rules() {
18 export CXX=/usr/bin/i486-slitaz-linux-g++-49
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
26 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
27 -DOPENSPADES_INSTALL_BINARY=bin \
28 .. &&
29 make -j1 &&
30 make DESTDIR=$install install
31 }
33 genpkg_rules() {
34 cp -a $install/* $fs
35 DEPENDS="gcc49-lib-base glew glibc-base libcurl glu sdl2 sdl2-image \
36 libxcb mesa util-linux-uuid libice libsm libx11 \
37 libxau libxdmcp libxext zlib"
38 }