wok view mygestures/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 69e1e705f038
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mygestures"
4 VERSION="2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Recognizing gestures made with your mouse and perform actions."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/mygestures/"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="jansson xorg-libX11 xorg-libXtst"
15 BUILD_DEPENDS="gcc83 jansson-dev xorg-libX11-dev xorg-libXtst"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/mygestures/files/mygestures/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/mygestures/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CC=gcc-83
31 export CXX=g++-83
33 ./configure \
34 --sysconfdir=/etc/$PACKAGE \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
45 cp -a $install/etc $fs
46 cp -a $install/usr/bin $fs/usr
47 }