wok-next diff xstroke/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | c4e53a39395a |
children | 7506b35e1c6f |
line diff
1.1 --- a/xstroke/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/xstroke/receipt Tue May 15 02:59:03 2018 +0300 1.3 @@ -1,37 +1,35 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xstroke" 1.8 VERSION="0.6" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Full-screen gesture recognition program for X." 1.11 +SHORT_DESC="Full-screen gesture recognition program for X" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://cworth.org/~cworth/papers/xstroke/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://cworth.org/~cworth/papers/xstroke/" 1.18 WGET_URL="http://davesource.com/Projects/xstroke/xstroke.tar.gz" 1.19 1.20 -DEPENDS="xorg-libX11" 1.21 BUILD_DEPENDS="xorg-libX11-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 case "$ARCH" in 1.28 - i?86) sysroot="" ;; 1.29 - arm*) sysroot="/cross/$ARCH/sysroot" ;; 1.30 + arm*) sysroot="/cross/$ARCH/sysroot";; 1.31 + *) sysroot="";; 1.32 esac 1.33 sed -i \ 1.34 - -e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \ 1.35 - -e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \ 1.36 - -e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile && 1.37 - make xstroke 1.38 + -e s"#^CC.*#CC = $HOST_SYSTEM-gcc#" \ 1.39 + -e s"#^INCLUDE.*#INCLUDE = -I$sysroot/usr/include#" \ 1.40 + -e s"#^LDFLAGS.*#LDFLAGS = -L$sysroot/usr/lib#" Makefile 1.41 + 1.42 + make xstroke || return 1 1.43 + 1.44 + install -Dm755 $src/xstroke $install/usr/bin/xstroke 1.45 + cook_pick_docs $src/xstroke.man 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE} 1.52 - cp -a ${src}/${PACKAGE} $fs/usr/bin 1.53 - cp -a ${src}/${PACKAGE}.man \ 1.54 - $fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt 1.55 +genpkg_rules() { 1.56 + copy @std 1.57 + DEPENDS="xorg-libX11" 1.58 }