wok-next view novnc/receipt @ rev 20900

gdk-pixbuf: build man pages; glib-networking: up (2.56.1); glibmm: up (2.56.0); gnupg: up (2.2.9); gsettings-desktop-schemas: up (3.28.0); tint2: up (16.4).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 21 17:03:50 2018 +0300 (2018-07-21)
parents c4e53a39395a
children a3254b6a96ac
line source
1 # SliTaz package receipt v2.
3 PACKAGE="novnc"
4 VERSION="201111004"
5 CATEGORY="network"
6 SHORT_DESC="VNC client in HTML5/javascript."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MPL2"
9 WEB_SITE="http://github.com/kanaka/noVNC"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="git|git://github.com/kanaka/noVNC.git"
14 BUILD_DEPENDS="python python-pil openssl git"
16 compile_rules() {
17 mkdir -p $DESTDIR
18 sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' utils/launch.sh
20 IMAGE=/usr/share/images/slitaz-background.jpg
21 [ -s $IMAGE ] && utils/img2js.py $IMAGE noVNC_logo > include/logo.js
22 cp -a *.html images/favicon.ico utils include $DESTDIR
23 }
25 genpkg_rules() {
26 copy @std
27 }
29 post_install() {
30 which openssl >/dev/null &&
31 openssl req -new -x509 -keyout "$1/usr/share/novnc/self.pem" \
32 -out "$1/usr/share/novnc/self.pem" -days 3650 -nodes <<EOT
33 $(. "$1/etc/locale.conf" ; echo ${LANG#*_})
34 $(cat "$1/etc/TZ")
36 $(cat "$1/etc/hostname")
40 EOT
41 DEPENDS="python python-numpy"
42 SUGGESTED="pyopenssl openssl"
43 TAGS="vnc remote-desktop html5"
44 }