wok-current view antimicro/receipt @ 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 03509d491272
children db6ba24c01e2
line source
1 # SliTaz package receipt.
3 PACKAGE="antimicro"
4 VERSION="2.23"
5 CATEGORY="x-window"
6 SHORT_DESC="Map keyboard keys and mouse buttons to gamepad buttons."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/AntiMicro/antimicro"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="https://github.com/AntiMicro/$PACKAGE/archive/$VERSION/$TARBALL"
14 DEPENDS="libQtCore libQtGui libsdl2 libxcb xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst"
16 BUILD_DEPENDS="cmake libsdl2-dev qmake Qt4-dev xorg-libX11-dev xorg-libXtst-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake .. \
24 -DCMAKE_INSTALL_PREFIX=/usr &&
25 make &&
26 make updateqm &&
27 make INSTALL_ROOT=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }