wok rev 22482
updated antimicro (1.0 -> 2.23)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 30 15:31:22 2019 +0100 (2019-12-30) |
parents | f1741e834caf |
children | 3e7ff947f644 |
files | antimicro/receipt |
line diff
1.1 --- a/antimicro/receipt Mon Dec 30 14:41:15 2019 +0100 1.2 +++ b/antimicro/receipt Mon Dec 30 15:31:22 2019 +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