wok-next view openspades/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents d6378d455338
children 5669e8b3be70
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 libsdl2-dev libsdl2-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 libsdl2 libsdl2-image \
36 xorg-libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \
37 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
38 }