wok-6.x annotate xstroke/receipt @ rev 21794
updated firefox-official packages (67.0.3 -> 68.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 07 15:28:16 2019 +0100 (2019-08-07) |
parents | c1523f23716a |
children | b7f1bd1b9ac7 |
rev | line source |
---|---|
pankso@16420 | 1 # SliTaz package receipt. |
pankso@16420 | 2 |
pankso@16420 | 3 PACKAGE="xstroke" |
pankso@16420 | 4 VERSION="0.6" |
pankso@16420 | 5 CATEGORY="x-window" |
pankso@16420 | 6 SHORT_DESC="Full-screen gesture recognition program for X." |
pankso@16420 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16420 | 8 LICENSE="GPL2" |
pankso@16420 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20679 | 10 WEB_SITE="https://www.usenix.org/legacy/publications/library/proceedings/usenix03/tech/freenix03/full_papers/worth/worth_html/xstroke.html" |
pankso@16420 | 11 WGET_URL="http://davesource.com/Projects/xstroke/xstroke.tar.gz" |
pankso@16420 | 12 HOST_ARCH="i486 arm" |
pankso@16420 | 13 |
pankso@16420 | 14 DEPENDS="xorg-libX11" |
pankso@16420 | 15 BUILD_DEPENDS="xorg-libX11-dev" |
pankso@16420 | 16 |
pankso@16420 | 17 # Rules to configure and make the package. |
pankso@16420 | 18 compile_rules() |
pankso@16420 | 19 { |
pankso@16420 | 20 case "$ARCH" in |
pankso@16420 | 21 i?86) sysroot="" ;; |
pankso@16420 | 22 arm*) sysroot="/cross/$ARCH/sysroot" ;; |
pankso@16420 | 23 esac |
pankso@16420 | 24 sed -i \ |
pankso@16420 | 25 -e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \ |
pankso@16420 | 26 -e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \ |
pankso@16420 | 27 -e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile && |
pankso@16420 | 28 make xstroke |
pankso@16420 | 29 } |
pankso@16420 | 30 |
pankso@16420 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16420 | 32 genpkg_rules() |
pankso@16420 | 33 { |
pankso@16420 | 34 mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE} |
pankso@16420 | 35 cp -a ${src}/${PACKAGE} $fs/usr/bin |
pankso@16420 | 36 cp -a ${src}/${PACKAGE}.man \ |
pankso@16420 | 37 $fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt |
pankso@16420 | 38 } |