wok-6.x annotate antimicro/receipt @ rev 21488
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 15:49:51 2019 +0200 (2019-05-01) |
parents | 2e4835eddcce |
children | de009acdced5 |
rev | line source |
---|---|
pascal@15218 | 1 # SliTaz package receipt. |
pascal@15218 | 2 |
pascal@15218 | 3 PACKAGE="antimicro" |
pascal@15218 | 4 VERSION="1.0" |
pascal@15218 | 5 CATEGORY="x-window" |
pascal@15218 | 6 SHORT_DESC="Map keyboard keys and mouse buttons to gamepad buttons." |
pascal@15218 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15218 | 8 LICENSE="GPL3" |
pascal@15218 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hackdorte@20007 | 10 WEB_SITE="https://github.com/AntiMicro/antimicro" |
pascal@15218 | 11 WGET_URL="https://github.com/Ryochan7/antimicro/archive/$VERSION.tar.gz" |
pascal@15218 | 12 |
pascal@15218 | 13 DEPENDS="libsdl xorg-libXtst xorg-libX11 libQtGui libQtCore xorg-libXi \ |
pascal@15218 | 14 xorg-libXext xorg-libXau xorg-libXdmcp libxcb" |
pascal@15218 | 15 BUILD_DEPENDS="qmake Qt4-dev libsdl-dev xorg-libXtst-dev xorg-libX11-dev" |
pascal@15218 | 16 |
pascal@15218 | 17 # Rules to configure and make the package. |
pascal@15218 | 18 compile_rules() |
pascal@15218 | 19 { |
pascal@15218 | 20 cd src |
pascal@15218 | 21 qmake INSTALL_PREFIX=/usr && |
pascal@15218 | 22 make && |
pascal@15218 | 23 make updateqm && |
pascal@15218 | 24 make INSTALL_ROOT=$DESTDIR install |
pascal@15218 | 25 } |
pascal@15218 | 26 |
pascal@15218 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15218 | 28 genpkg_rules() |
pascal@15218 | 29 { |
pascal@15218 | 30 cp -a $install/usr $fs |
pascal@15218 | 31 } |