wok-6.x view xstroke/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents c1523f23716a
children b7f1bd1b9ac7
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 case "$ARCH" in
21 i?86) sysroot="" ;;
22 arm*) sysroot="/cross/$ARCH/sysroot" ;;
23 esac
24 sed -i \
25 -e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \
26 -e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \
27 -e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile &&
28 make xstroke
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE}
35 cp -a ${src}/${PACKAGE} $fs/usr/bin
36 cp -a ${src}/${PACKAGE}.man \
37 $fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt
38 }