wok-current annotate openspades/receipt @ rev 22213
updated xorg-libXext and xorg-libXext-dev (1.3.2 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 15:56:09 2019 +0100 (2019-11-11) |
parents | 4685406923f5 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@19256 | 1 # SliTaz package receipt. |
al@19256 | 2 |
al@19256 | 3 PACKAGE="openspades" |
Hans-G?nter@21640 | 4 VERSION="0.1.3" |
al@19256 | 5 CATEGORY="games" |
Hans-G?nter@21640 | 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/" |
Hans-G?nter@21640 | 10 |
al@19256 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19256 | 12 WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz" |
al@19256 | 13 |
Hans-G?nter@21640 | 14 DEPENDS="gcc83-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \ |
Hans-G?nter@21640 | 15 libsdl2-image libxcb mesa util-linux-uuid xorg-libICE \ |
Hans-G?nter@21640 | 16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext zlib" |
Hans-G?nter@21641 | 17 BUILD_DEPENDS="cmake curl-dev file freealut-dev gcc83 glew-dev grep \ |
Hans-G?nter@21640 | 18 imagemagick libogg-dev libsdl2-dev libsdl2-image-dev mesa-dev \ |
Hans-G?nter@21640 | 19 opusfile-dev unzip zip" |
al@19256 | 20 |
al@19256 | 21 # Rules to configure and make the package. |
al@19256 | 22 compile_rules() |
al@19256 | 23 { |
Hans-G?nter@21640 | 24 # patch -p1 -i $stuff/$PACKAGE-$VERSION.patch |
al@19256 | 25 |
Hans-G?nter@21640 | 26 export CC=gcc-83 |
Hans-G?nter@21640 | 27 export CXX=g++-83 |
Hans-G?nter@21640 | 28 |
Hans-G?nter@21640 | 29 mkdir build |
Hans-G?nter@21640 | 30 cd build |
Hans-G?nter@21640 | 31 cmake .. \ |
Hans-G?nter@21640 | 32 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21640 | 33 -DCMAKE_BUILD_TYPE=Release \ |
Hans-G?nter@21640 | 34 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \ |
al@19256 | 35 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \ |
Hans-G?nter@21640 | 36 -DOPENSPADES_INSTALL_BINARY=bin && |
al@19256 | 37 make -j1 && |
al@19256 | 38 make DESTDIR=$install install |
al@19256 | 39 } |
al@19256 | 40 |
al@19256 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19256 | 42 genpkg_rules() |
al@19256 | 43 { |
al@19256 | 44 cp -a $install/* $fs |
al@19256 | 45 } |