wok-next annotate openspades/receipt @ rev 20796

Add descriptions to the GNOME games
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 10 16:17:43 2018 +0300 (2018-06-10)
parents c0521c689857
children d5aab818505e
rev   line source
al@19256 1 # SliTaz package receipt.
al@19256 2
al@19256 3 PACKAGE="openspades"
al@19256 4 VERSION="0.0.12"
al@19256 5 CATEGORY="games"
al@19256 6 SHORT_DESC="Compatible client of Ace of Spades 0.75"
al@19256 7 MAINTAINER="al.bobylev@gmail.com"
al@19256 8 LICENSE="GPL3"
al@19256 9 WEB_SITE="http://openspades.yvt.jp/"
al@19256 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19256 11 WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz"
al@19256 12
al@20502 13 DEPENDS="gcc49-lib-base glew glibc-base libcurl glu libsdl2 \
al@20447 14 libsdl2-image xorg-libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \
al@19256 15 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
al@19256 16 BUILD_DEPENDS="gcc49 cmake libsdl2-dev libsdl2-image-dev freealut-dev mesa-dev \
al@19256 17 glew-dev curl-dev imagemagick grep unzip"
al@19256 18
al@19256 19 # Rules to configure and make the package.
al@19256 20 compile_rules()
al@19256 21 {
al@19256 22 export CXX=/usr/bin/i486-slitaz-linux-g++-49
al@19256 23
al@19256 24 mkdir build; cd build
al@19256 25 cmake .. \
al@19256 26 -DCMAKE_INSTALL_PREFIX=/usr \
al@19256 27 -DCMAKE_BUILD_TYPE=Release \
al@19256 28 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \
al@19256 29 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \
al@19256 30 -DOPENSPADES_INSTALL_BINARY=bin \
al@19256 31 &&
al@19256 32 make -j1 &&
al@19256 33 make DESTDIR=$install install
al@19256 34 }
al@19256 35
al@19256 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19256 37 genpkg_rules()
al@19256 38 {
al@19256 39 cp -a $install/* $fs
al@19256 40 }