wok-current view xstroke/receipt @ rev 16773

busybox: add fatattr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 20 15:21:26 2014 +0200 (2014-06-20)
parents
children 6135577f4d08
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="http://cworth.org/~cworth/papers/xstroke/"
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 }