wok-next view openspades/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | c0521c689857 |
children | d5aab818505e |
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 glu libsdl2 \
14 libsdl2-image xorg-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 export CXX=/usr/bin/i486-slitaz-linux-g++-49
24 mkdir build; cd build
25 cmake .. \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DCMAKE_BUILD_TYPE=Release \
28 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
29 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
30 -DOPENSPADES_INSTALL_BINARY=bin \
31 &&
32 make -j1 &&
33 make DESTDIR=$install install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }