wok view xstroke/receipt @ rev 25320

updated sqlite, sqlite-dev, libsqlite and libsqlite-tcl (3.32.1 -> 3.39.2)
author Hans-G?nter Theisgen
date Fri Jul 22 07:37:22 2022 +0100 (2022-07-22)
parents 6135577f4d08
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xstroke"
4 VERSION="0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Full-screen gesture recognition program for X."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.usenix.org/legacy/publications/library/proceedings/usenix03/tech/freenix03/full_papers/worth/worth_html/xstroke.html"
11 WGET_URL="http://davesource.com/Projects/xstroke/xstroke.tar.gz"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libX11"
15 BUILD_DEPENDS="xorg-libX11-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/jeevesmkii/xstroke/master/NEWS 2>/dev/null | \
21 sed '/^xstroke-/!d;s|xstroke-||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 case "$ARCH" in
28 i?86) sysroot="" ;;
29 arm*) sysroot="/cross/$ARCH/sysroot" ;;
30 esac
31 sed -i \
32 -e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \
33 -e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \
34 -e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile &&
35 make xstroke
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE}
42 cp -a ${src}/${PACKAGE} $fs/usr/bin
43 cp -a ${src}/${PACKAGE}.man \
44 $fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt
45 }