wok-6.x diff antimicro/receipt @ rev 22577
updated cabextract (1.9 -> 1.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 06 16:52:55 2020 +0100 (2020-01-06) |
parents | 03509d491272 |
children | db6ba24c01e2 |
line diff
1.1 --- a/antimicro/receipt Wed Aug 02 12:34:36 2017 -0300 1.2 +++ b/antimicro/receipt Mon Jan 06 16:52:55 2020 +0100 1.3 @@ -1,24 +1,27 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="antimicro" 1.7 -VERSION="1.0" 1.8 +VERSION="2.23" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Map keyboard keys and mouse buttons to gamepad buttons." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL3" 1.13 +WEB_SITE="https://github.com/AntiMicro/antimicro" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="https://github.com/AntiMicro/antimicro" 1.17 -WGET_URL="https://github.com/Ryochan7/antimicro/archive/$VERSION.tar.gz" 1.18 +WEB_SITE="https://github.com/AntiMicro/$PACKAGE/archive/$VERSION/$TARBALL" 1.19 1.20 -DEPENDS="libsdl xorg-libXtst xorg-libX11 libQtGui libQtCore xorg-libXi \ 1.21 -xorg-libXext xorg-libXau xorg-libXdmcp libxcb" 1.22 -BUILD_DEPENDS="qmake Qt4-dev libsdl-dev xorg-libXtst-dev xorg-libX11-dev" 1.23 +DEPENDS="libQtCore libQtGui libsdl2 libxcb xorg-libX11 xorg-libXau \ 1.24 + xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst" 1.25 +BUILD_DEPENDS="cmake libsdl2-dev qmake Qt4-dev xorg-libX11-dev xorg-libXtst-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd src 1.31 - qmake INSTALL_PREFIX=/usr && 1.32 + mkdir build 1.33 + cd build 1.34 + cmake .. \ 1.35 + -DCMAKE_INSTALL_PREFIX=/usr && 1.36 make && 1.37 make updateqm && 1.38 make INSTALL_ROOT=$DESTDIR install