git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1401f7
)
tightvnc: provide vncviewer alternative to provide more flexibility
author
Otavio Salvador
<otavio@ossystems.com.br>
Mon, 3 Nov 2008 21:59:24 +0000
(19:59 -0200)
committer
Otavio Salvador
<otavio@ossystems.com.br>
Wed, 5 Nov 2008 11:12:02 +0000
(09:12 -0200)
packages/vnc/tightvnc_1.3.9.bb
patch
|
blob
|
history
diff --git
a/packages/vnc/tightvnc_1.3.9.bb
b/packages/vnc/tightvnc_1.3.9.bb
index
ec6a705
..
3f11763
100644
(file)
--- a/
packages/vnc/tightvnc_1.3.9.bb
+++ b/
packages/vnc/tightvnc_1.3.9.bb
@@
-3,7
+3,7
@@
HOMEPAGE = "http://www.tightvnc.com/"
DEPENDS = "virtual/libx11 zlib libxmu libxaw"
LICENSE = "GPL"
-PR = "r
0
"
+PR = "r
1
"
SRC_URI = "${SOURCEFORGE_MIRROR}/vnc-tight/${PN}-${PV}_unixsrc.tar.gz \
file://Makefile"
@@
-23,3
+23,12
@@
do_install () {
install -d ${D}${bindir}
install ${PN}viewer ${D}${bindir}
}
+
+pkg_postinst_${PN}-viewer () {
+ update-alternatives --install ${bindir}/vncviewer vncviewer tightvncviewer 100
+}
+
+
+pkg_prerm_${PN}-viewer () {
+ update-alternatives --remove ${bindir}/vncviewer vncviewer tightvncviewer 100
+}