wok view x11vnc-extra/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 4f1b00a89af1
children 6a937d641b10
line source
1 # SliTaz package receipt.
3 PACKAGE="x11vnc-extra"
4 VERSION="0.9.13"
5 CATEGORY="network"
6 SHORT_DESC="java VNC viewer"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.karlrunge.com/x11vnc/"
10 WANTED="x11vnc"
11 TAGS="vnc"
12 HOST_ARCH="i486 arm"
14 DEPENDS="x11vnc"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share
20 cp -a $install/usr/share/x11vnc $fs/usr/share
21 }
23 # Post install/remove commands for Tazpkg.
24 post_install()
25 {
26 sed -i 's/X11VNC_OPTIONS="/X11VNC_OPTIONS="-ssl -http /' "$1/etc/daemons.conf"
27 }