wok view openspades/receipt @ rev 21606

updated odt2txt (0.4 -> 0.5)
author Hans-G?nter Theisgen
date Thu May 23 10:57:29 2019 +0100 (2019-05-23)
parents
children 4685406923f5
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz"
13 DEPENDS="gcc49-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \
14 libsdl2-image libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \
15 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
16 BUILD_DEPENDS="gcc49 cmake libsdl2-dev libsdl2-image-dev freealut-dev mesa-dev \
17 glew-dev curl-dev imagemagick grep unzip"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 patch -p1 -i $stuff/$PACKAGE-$VERSION.patch
23 export CXX=/usr/bin/i486-slitaz-linux-g++-49
25 mkdir build; cd build
26 cmake .. \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DCMAKE_BUILD_TYPE=Release \
29 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
30 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
31 -DOPENSPADES_INSTALL_BINARY=bin \
32 &&
33 make -j1 &&
34 make DESTDIR=$install install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }