wok-next rev 15218

Add antimicro
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 19 09:41:58 2013 +0000 (2013-09-19)
parents f58b65dff59f
children 742054c507b6
files antimicro/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/antimicro/receipt	Thu Sep 19 09:41:58 2013 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="antimicro"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Map keyboard keys and mouse buttons to gamepad buttons."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.ryochan7.com/"
    1.14 +WGET_URL="https://github.com/Ryochan7/antimicro/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="libsdl xorg-libXtst xorg-libX11 libQtGui libQtCore xorg-libXi \
    1.17 +xorg-libXext xorg-libXau xorg-libXdmcp libxcb"
    1.18 +BUILD_DEPENDS="qmake Qt4-dev libsdl-dev xorg-libXtst-dev xorg-libX11-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd src
    1.24 +	qmake INSTALL_PREFIX=/usr &&
    1.25 +	make &&
    1.26 +	make updateqm &&
    1.27 +	make INSTALL_ROOT=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/usr $fs
    1.34 +}