wok rev 19929

realvnc-viewer: arm support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 24 09:34:36 2017 +0200 (2017-04-24)
parents e8b534d38be7
children b0eb186f4ba9
files realvnc-viewer/receipt
line diff
     1.1 --- a/realvnc-viewer/receipt	Fri Apr 21 16:51:10 2017 +0200
     1.2 +++ b/realvnc-viewer/receipt	Mon Apr 24 09:34:36 2017 +0200
     1.3 @@ -15,12 +15,16 @@
     1.4  xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto xorg-libXtst-dev"
     1.5  PROVIDE="vncviewer"
     1.6  TAGS="remote-desktop vnc"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	mv vnc4* $src 2> /dev/null
    1.13  	cd $src
    1.14 +	case "$ARCH" in
    1.15 +	arm*) sed -i 's/(AR)/& rc/' common/zlib/Makefile.in ;;
    1.16 +	esac
    1.17  	for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
    1.18  		 common/network/TcpSocket.cxx ; do
    1.19  		grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i