wok-next annotate antimicro/receipt @ rev 17797

Add marco
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 20 20:00:59 2015 -0300 (2015-03-20)
parents
children 7639f09792cf
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"
pascal@15218 10 WEB_SITE="http://www.ryochan7.com/"
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 }