wok-current annotate xstroke/receipt @ rev 24885
updated mcabber (0.9.10 -> 1.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:52:41 2022 +0100 (2022-04-01) |
parents | 6135577f4d08 |
children |
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 |
pascal@24713 | 17 # What is the latest version available today? |
pascal@24713 | 18 current_version() |
pascal@24713 | 19 { |
pascal@24713 | 20 wget -O - https://raw.githubusercontent.com/jeevesmkii/xstroke/master/NEWS 2>/dev/null | \ |
pascal@24713 | 21 sed '/^xstroke-/!d;s|xstroke-||;s| .*||;q' |
pascal@24713 | 22 } |
pascal@24713 | 23 |
pankso@16420 | 24 # Rules to configure and make the package. |
pankso@16420 | 25 compile_rules() |
pankso@16420 | 26 { |
pankso@16420 | 27 case "$ARCH" in |
pankso@16420 | 28 i?86) sysroot="" ;; |
pankso@16420 | 29 arm*) sysroot="/cross/$ARCH/sysroot" ;; |
pankso@16420 | 30 esac |
pankso@16420 | 31 sed -i \ |
pankso@16420 | 32 -e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \ |
pankso@16420 | 33 -e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \ |
pankso@16420 | 34 -e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile && |
pankso@16420 | 35 make xstroke |
pankso@16420 | 36 } |
pankso@16420 | 37 |
pankso@16420 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16420 | 39 genpkg_rules() |
pankso@16420 | 40 { |
pankso@16420 | 41 mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE} |
pankso@16420 | 42 cp -a ${src}/${PACKAGE} $fs/usr/bin |
pankso@16420 | 43 cp -a ${src}/${PACKAGE}.man \ |
pankso@16420 | 44 $fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt |
pankso@16420 | 45 } |