wok-next diff 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 diff
1.1 --- a/novnc/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/novnc/receipt Sat Jul 21 17:03:50 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="novnc" 1.8 VERSION="201111004" 1.9 @@ -7,35 +7,27 @@ 1.10 MAINTAINER="pascal.bellard@slitaz.org" 1.11 LICENSE="MPL2" 1.12 WEB_SITE="http://github.com/kanaka/noVNC" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WGET_URL="git|git://github.com/kanaka/noVNC.git" 1.16 -TAGS="vnc remote-desktop html5" 1.17 1.18 -DEPENDS="python python-numpy" 1.19 BUILD_DEPENDS="python python-pil openssl git" 1.20 -SUGGESTED="pyopenssl openssl" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - cd $src 1.26 +compile_rules() { 1.27 mkdir -p $DESTDIR 1.28 sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' utils/launch.sh 1.29 + 1.30 IMAGE=/usr/share/images/slitaz-background.jpg 1.31 [ -s $IMAGE ] && utils/img2js.py $IMAGE noVNC_logo > include/logo.js 1.32 cp -a *.html images/favicon.ico utils include $DESTDIR 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 - mkdir -p $fs/usr/share/novnc 1.39 - cp -a $install/* $fs/usr/share/novnc 1.40 +genpkg_rules() { 1.41 + copy @std 1.42 } 1.43 1.44 -post_install() 1.45 -{ 1.46 - which openssl > /dev/null && 1.47 +post_install() { 1.48 + which openssl >/dev/null && 1.49 openssl req -new -x509 -keyout "$1/usr/share/novnc/self.pem" \ 1.50 -out "$1/usr/share/novnc/self.pem" -days 3650 -nodes <<EOT 1.51 $(. "$1/etc/locale.conf" ; echo ${LANG#*_}) 1.52 @@ -46,4 +38,7 @@ 1.53 1.54 1.55 EOT 1.56 + DEPENDS="python python-numpy" 1.57 + SUGGESTED="pyopenssl openssl" 1.58 + TAGS="vnc remote-desktop html5" 1.59 }