wok-next view xstroke/receipt @ rev 20577

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 03:34:33 2018 +0300 (2018-04-14)
parents c4e53a39395a
children 7506b35e1c6f
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://cworth.org/~cworth/papers/xstroke/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://davesource.com/Projects/xstroke/xstroke.tar.gz"
14 BUILD_DEPENDS="xorg-libX11-dev"
16 compile_rules() {
17 case "$ARCH" in
18 arm*) sysroot="/cross/$ARCH/sysroot";;
19 *) sysroot="";;
20 esac
21 sed -i \
22 -e s"#^CC.*#CC = $HOST_SYSTEM-gcc#" \
23 -e s"#^INCLUDE.*#INCLUDE = -I$sysroot/usr/include#" \
24 -e s"#^LDFLAGS.*#LDFLAGS = -L$sysroot/usr/lib#" Makefile
26 make xstroke || return 1
28 install -Dm755 $src/xstroke $install/usr/bin/xstroke
29 cook_pick_docs $src/xstroke.man
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="xorg-libX11"
35 }