[oe-commits] Otavio Salvador : tightvnc: provide vncviewer alternative to provide more flexibility
GIT User account
git at amethyst.openembedded.net
Wed Nov 5 11:14:49 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: e90881203cfc9def8106a1c68f9a6f05fb4895b7
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e90881203cfc9def8106a1c68f9a6f05fb4895b7
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Mon Nov 3 19:59:24 2008 -0200
tightvnc: provide vncviewer alternative to provide more flexibility
---
packages/vnc/tightvnc_1.3.9.bb | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/packages/vnc/tightvnc_1.3.9.bb b/packages/vnc/tightvnc_1.3.9.bb
index ec6a705..3f11763 100644
--- 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 = "r0"
+PR = "r1"
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
+}
More information about the Openembedded-commits
mailing list