wok-6.x view antimicro/receipt @ rev 24562
updated fpm2 (0.79 -> 0.90)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:44:38 2022 +0100 (2022-02-25) |
parents | db6ba24c01e2 |
children |
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 WGET_URL="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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build
28 cd build
29 cmake .. \
30 -DCMAKE_INSTALL_PREFIX=/usr &&
31 make &&
32 make updateqm &&
33 make INSTALL_ROOT=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }