wok-next diff xstroke/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 7506b35e1c6f
children d457c4e37c1b
line diff
     1.1 --- a/xstroke/receipt	Mon Aug 13 00:47:17 2018 +0300
     1.2 +++ b/xstroke/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="0.6"
     1.5  CATEGORY="x-window"
     1.6  SHORT_DESC="Full-screen gesture recognition program for X"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="https://cworth.org/~cworth/papers/xstroke/"
    1.11  
    1.12 @@ -14,19 +14,16 @@
    1.13  BUILD_DEPENDS="xorg-libX11-dev"
    1.14  
    1.15  compile_rules() {
    1.16 -	case "$ARCH" in
    1.17 -		arm*) sysroot="/cross/$ARCH/sysroot";;
    1.18 -		*)    sysroot="";;
    1.19 -	esac
    1.20 -	sed -i \
    1.21 -		-e s"#^CC.*#CC = $HOST_SYSTEM-gcc#" \
    1.22 -		-e s"#^INCLUDE.*#INCLUDE = -I$sysroot/usr/include#" \
    1.23 -		-e s"#^LDFLAGS.*#LDFLAGS = -L$sysroot/usr/lib#" Makefile
    1.24 +	sed \
    1.25 +		-e "s|^CC.*|CC = $HOST_SYSTEM-gcc|" \
    1.26 +		-e "s|^INCLUDE.*|INCLUDE = -I/usr/include|" \
    1.27 +		-e "s|^LDFLAGS.*|LDFLAGS = -L/usr/lib|" \
    1.28 +		-i Makefile
    1.29  
    1.30  	make xstroke || return 1
    1.31  
    1.32 -	install -Dm755 $src/xstroke $install/usr/bin/xstroke
    1.33 -	cook_pick_docs $src/xstroke.man
    1.34 +	install -Dm755 xstroke $install/usr/bin/xstroke
    1.35 +	cook_pick_docs xstroke.man
    1.36  }
    1.37  
    1.38  genpkg_rules() {