wok-6.x view mygestures/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | afae00265386 |
children | 69e1e705f038 |
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|.*href="|"https://sourceforge.net|;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 }