wok-next annotate realvnc-viewer/receipt @ rev 21144
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 26 15:54:42 2019 +0200 (2019-01-26) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
pascal@4418 | 2 |
pascal@4418 | 3 PACKAGE="realvnc-viewer" |
pascal@4418 | 4 VERSION="4.1.1" |
pascal@4418 | 5 CATEGORY="x-window" |
al@21017 | 6 SHORT_DESC="VNC viewer (graphical remote control)" |
pascal@4418 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14850 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.realvnc.com/en/" |
al@20888 | 10 REPOLOGY="realvnc" |
al@20888 | 11 |
al@21020 | 12 TARBALL="vnc4_$VERSION+X4.3.0.orig.tar.gz" |
pascal@4418 | 13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL" |
al@20888 | 14 |
al@21078 | 15 BUILD_DEPENDS="libxaw-dev libxt-dev libxau-dev \ |
al@21078 | 16 libxdmcp-dev libxmu-dev xorgproto libxtst-dev" |
al@20888 | 17 |
al@21017 | 18 compile_rules() { |
al@21017 | 19 mv vnc4* $src 2> /dev/null |
pascal@4418 | 20 |
pascal@4418 | 21 cd $src |
pascal@4418 | 22 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \ |
al@21020 | 23 common/network/TcpSocket.cxx; do |
pascal@4418 | 24 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i |
pascal@4418 | 25 done |
al@21017 | 26 |
pascal@4418 | 27 cd unix |
pascal@20007 | 28 export CXXFLAGS="-Wno-narrowing" |
al@21017 | 29 |
al@21017 | 30 ./configure \ |
al@21017 | 31 --prefix=/usr \ |
al@21017 | 32 $CONFIGURE_ARGS && |
pascal@4418 | 33 make |
pascal@4418 | 34 } |
pascal@4418 | 35 |
al@21017 | 36 genpkg_rules() { |
erjo@14847 | 37 mkdir -p $fs/usr/bin $fs/usr/share |
al@21017 | 38 |
pascal@4418 | 39 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin |
pascal@14849 | 40 cp -a $stuff/* $fs/usr/share |
al@21078 | 41 DEPENDS="gcc-lib-base libxdmcp libxau libx11 libxext \ |
al@21078 | 42 libice libsm util-linux-uuid" |
al@21017 | 43 PROVIDE="vncviewer" |
al@21017 | 44 TAGS="remote-desktop vnc" |
pascal@4418 | 45 } |