template-specs: teamviewer.sh (NEW) - original from tarball

glen glen at pld-linux.org
Fri Jul 9 12:02:48 CEST 2010


Author: glen                         Date: Fri Jul  9 10:02:48 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- original from tarball

---- Files affected:
template-specs:
   teamviewer.sh (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: template-specs/teamviewer.sh
diff -u /dev/null template-specs/teamviewer.sh:1.1
--- /dev/null	Fri Jul  9 12:02:49 2010
+++ template-specs/teamviewer.sh	Fri Jul  9 12:02:43 2010
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Launch teamviewer 5 for Linux
+
+rootdir=$(readlink -f $(dirname "$0"))
+
+# Set the environment up
+export PATH="$rootdir/.wine/bin":$PATH
+export LD_LIBRARY_PATH="$rootdir/.wine/lib"
+export WINEDLLPATH="$rootdir/.wine/lib/wine"
+export WINELOADER="$rootdir/.wine/bin/wine"
+export WINESERVER="$rootdir/.wine/bin/wineserver"
+export WINEPREFIX="$rootdir/.wine"
+
+if [ -n "$TV_WINEPREFIX" ] ; then
+     # User specified a prefix in the environment, use it
+     export WINEPREFIX="$TV_WINEPREFIX"
+fi
+
+# Redirect output to logfile
+exec >/$WINEPREFIX/winelog 2>&1
+
+"$rootdir/.wine/bin/wine" "$rootdir/.wine/drive_c/Program Files/TeamViewer/Version5/TeamViewer.exe"
================================================================


More information about the pld-cvs-commit mailing list