wok annotate openspades/receipt @ rev 20557
Up iperf (2.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:18:52 2018 +0100 (2018-12-12) |
parents | |
children | 4685406923f5 |
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@19256 | 13 DEPENDS="gcc49-lib-base glew glibc-base libcurl libglu-mesa libsdl2 \ |
al@19256 | 14 libsdl2-image 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 patch -p1 -i $stuff/$PACKAGE-$VERSION.patch |
al@19256 | 23 export CXX=/usr/bin/i486-slitaz-linux-g++-49 |
al@19256 | 24 |
al@19256 | 25 mkdir build; cd build |
al@19256 | 26 cmake .. \ |
al@19256 | 27 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19256 | 28 -DCMAKE_BUILD_TYPE=Release \ |
al@19256 | 29 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \ |
al@19256 | 30 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \ |
al@19256 | 31 -DOPENSPADES_INSTALL_BINARY=bin \ |
al@19256 | 32 && |
al@19256 | 33 make -j1 && |
al@19256 | 34 make DESTDIR=$install install |
al@19256 | 35 } |
al@19256 | 36 |
al@19256 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19256 | 38 genpkg_rules() |
al@19256 | 39 { |
al@19256 | 40 cp -a $install/* $fs |
al@19256 | 41 } |