wok-next view xstroke/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | c1523f23716a |
children | da9e80c5d4bb |
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"
13 DEPENDS="xorg-libX11"
14 BUILD_DEPENDS="xorg-libX11-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 case "$ARCH" in
20 i?86) sysroot="" ;;
21 arm*) sysroot="/cross/$ARCH/sysroot" ;;
22 esac
23 sed -i \
24 -e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \
25 -e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \
26 -e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile &&
27 make xstroke
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE}
34 cp -a ${src}/${PACKAGE} $fs/usr/bin
35 cp -a ${src}/${PACKAGE}.man \
36 $fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt
37 }