wok-next diff openspades/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d6378d455338 |
children | 5669e8b3be70 |
line diff
1.1 --- a/openspades/receipt Thu May 10 21:12:00 2018 +0300 1.2 +++ b/openspades/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -7,34 +7,32 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="GPL3" 1.6 WEB_SITE="http://openspades.yvt.jp/" 1.7 + 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz" 1.10 1.11 -DEPENDS="gcc49-lib-base glew glibc-base libcurl glu libsdl2 \ 1.12 -libsdl2-image xorg-libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \ 1.13 -xorg-libXau xorg-libXdmcp xorg-libXext zlib" 1.14 BUILD_DEPENDS="gcc49 cmake libsdl2-dev libsdl2-image-dev freealut-dev mesa-dev \ 1.15 glew-dev curl-dev imagemagick grep unzip" 1.16 1.17 -# Rules to configure and make the package. 1.18 -compile_rules() 1.19 -{ 1.20 +compile_rules() { 1.21 export CXX=/usr/bin/i486-slitaz-linux-g++-49 1.22 1.23 - mkdir build; cd build 1.24 - cmake .. \ 1.25 + mkdir build 1.26 + cd build 1.27 + cmake \ 1.28 -DCMAKE_INSTALL_PREFIX=/usr \ 1.29 -DCMAKE_BUILD_TYPE=Release \ 1.30 -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \ 1.31 -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \ 1.32 -DOPENSPADES_INSTALL_BINARY=bin \ 1.33 - && 1.34 + .. && 1.35 make -j1 && 1.36 make DESTDIR=$install install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 +genpkg_rules() { 1.43 cp -a $install/* $fs 1.44 + DEPENDS="gcc49-lib-base glew glibc-base libcurl glu libsdl2 libsdl2-image \ 1.45 + xorg-libxcb mesa util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \ 1.46 + xorg-libXau xorg-libXdmcp xorg-libXext zlib" 1.47 }