wok-current annotate mygestures/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (2 days ago) |
parents | ad0bc3efbf37 |
children |
rev | line source |
---|---|
pankso@16420 | 1 # SliTaz package receipt. |
pankso@16420 | 2 |
pankso@16420 | 3 PACKAGE="mygestures" |
Hans-G?nter@21504 | 4 VERSION="2.0" |
pankso@16420 | 5 CATEGORY="x-window" |
al@17387 | 6 SHORT_DESC="Recognizing gestures made with your mouse and perform actions." |
pankso@16420 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16420 | 8 LICENSE="GPL2" |
pascal@25510 | 9 WEB_SITE="https://sourceforge.net/projects/mygestures/" |
Hans-G?nter@21504 | 10 |
Hans-G?nter@21504 | 11 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
pankso@16420 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21504 | 13 |
Hans-G?nter@21504 | 14 DEPENDS="jansson xorg-libX11 xorg-libXtst" |
Hans-G?nter@21504 | 15 BUILD_DEPENDS="gcc83 jansson-dev xorg-libX11-dev xorg-libXtst" |
Hans-G?nter@21504 | 16 |
pankso@16420 | 17 HOST_ARCH="i486 arm" |
pankso@16420 | 18 |
pascal@24402 | 19 # What is the latest version available today? |
pascal@24402 | 20 current_version() |
pascal@24402 | 21 { |
pascal@24402 | 22 wget -O - https://sourceforge.net/projects/mygestures/files/mygestures/ 2>/dev/null | \ |
pascal@24402 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 24 sed '/scope="row/!d;s|.*/mygestures/||;s|/.*||;q' |
pascal@24402 | 25 } |
pascal@24402 | 26 |
pankso@16420 | 27 # Rules to configure and make the package. |
pankso@16420 | 28 compile_rules() |
pankso@16420 | 29 { |
Hans-G?nter@21505 | 30 export CC=gcc-83 |
Hans-G?nter@21505 | 31 export CXX=g++-83 |
Hans-G?nter@21505 | 32 |
Hans-G?nter@21504 | 33 ./configure \ |
Hans-G?nter@21504 | 34 --sysconfdir=/etc/$PACKAGE \ |
pankso@16420 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21504 | 36 make && |
Hans-G?nter@21504 | 37 make install |
pankso@16420 | 38 } |
pankso@16420 | 39 |
pankso@16420 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16420 | 41 genpkg_rules() |
pankso@16420 | 42 { |
pankso@16420 | 43 mkdir -p $fs/usr |
Hans-G?nter@21504 | 44 |
Hans-G?nter@21504 | 45 cp -a $install/etc $fs |
Hans-G?nter@21504 | 46 cp -a $install/usr/bin $fs/usr |
pankso@16420 | 47 } |