wok annotate antimicro/receipt @ rev 25056

linux-wireless: add r8192ee.ko & rtl8821ae.ko
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 10:49:51 2022 +0000 (2022-06-06)
parents db6ba24c01e2
children 343c093ad221
rev   line source
pascal@15218 1 # SliTaz package receipt.
pascal@15218 2
pascal@15218 3 PACKAGE="antimicro"
Hans-G?nter@22482 4 VERSION="2.23"
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"
Hans-G?nter@22482 9 WEB_SITE="https://github.com/AntiMicro/antimicro"
Hans-G?nter@22482 10
pascal@15218 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22581 12 WGET_URL="https://github.com/AntiMicro/$PACKAGE/archive/$VERSION/$TARBALL"
pascal@15218 13
Hans-G?nter@22482 14 DEPENDS="libQtCore libQtGui libsdl2 libxcb xorg-libX11 xorg-libXau \
Hans-G?nter@22482 15 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst"
Hans-G?nter@22482 16 BUILD_DEPENDS="cmake libsdl2-dev qmake Qt4-dev xorg-libX11-dev xorg-libXtst-dev"
pascal@15218 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@15218 24 # Rules to configure and make the package.
pascal@15218 25 compile_rules()
pascal@15218 26 {
Hans-G?nter@22482 27 mkdir build
Hans-G?nter@22482 28 cd build
Hans-G?nter@22482 29 cmake .. \
Hans-G?nter@22482 30 -DCMAKE_INSTALL_PREFIX=/usr &&
pascal@15218 31 make &&
pascal@15218 32 make updateqm &&
pascal@15218 33 make INSTALL_ROOT=$DESTDIR install
pascal@15218 34 }
pascal@15218 35
pascal@15218 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15218 37 genpkg_rules()
pascal@15218 38 {
pascal@15218 39 cp -a $install/usr $fs
pascal@15218 40 }