# HG changeset patch # User Hans-G?nter Theisgen # Date 1587140468 -3600 # Node ID 78c570d6903c3352b1ab41a4863eb4b9551c6781 # Parent 09f2236230699548ef781cd95ffbfe4067147dab updated openspades (0.0.12 -> 0.1.3) diff -r 09f223623069 -r 78c570d6903c openspades/receipt --- a/openspades/receipt Fri Apr 17 16:55:18 2020 +0100 +++ b/openspades/receipt Fri Apr 17 17:21:08 2020 +0100 @@ -1,38 +1,38 @@ # SliTaz package receipt. PACKAGE="openspades" -VERSION="0.0.12" +VERSION="0.1.3" CATEGORY="games" SHORT_DESC="Compatible client of Ace of Spades 0.75" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" -WEB_SITE="http://openspades.yvt.jp/" +WEB_SITE="https://openspades.yvt.jp/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz" -BUILD_DEPENDS="gcc49 cmake sdl2-dev sdl2-image-dev freealut-dev mesa-dev \ -glew-dev curl-dev imagemagick grep unzip" +BUILD_DEPENDS="cmake curl-dev freealut-dev glew-dev grep + imagemagick mesa-dev sdl2-dev sdl2-image-dev unzip" -compile_rules() { - export CXX=/usr/bin/i486-slitaz-linux-g++-49 - +compile_rules() +{ mkdir build cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \ - -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \ - -DOPENSPADES_INSTALL_BINARY=bin \ - .. && + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DOPENSPADES_RESDIR=/usr/share/openspades/Resources \ + -DOPENSPADES_INSTALL_RESOURCES=share/openspades/Resources \ + -DOPENSPADES_INSTALL_BINARY=bin && make -j1 && make DESTDIR=$install install } -genpkg_rules() { - cp -a $install/* $fs - DEPENDS="gcc49-lib-base glew glibc-base libcurl glu sdl2 sdl2-image \ - libxcb mesa util-linux-uuid libice libsm libx11 \ - libxau libxdmcp libxext zlib" +genpkg_rules() +{ + cp -a $install/* $fs + + DEPENDS="glew glibc-base glu libcurl libice libsm libx11 + libxau libxcb libxdmcp libxext mesa sdl2 sdl2-image + util-linux-uuid zlib" }