diff options
author | Stefan Kuhn <Wuodan0@gmail.com> | 2013-02-13 20:32:36 +0100 |
---|---|---|
committer | Stefan Kuhn <Wuodan0@gmail.com> | 2013-02-13 20:32:36 +0100 |
commit | b69a772049aea5916c9a9a4d766aebc863f68e97 (patch) | |
tree | c189f6805a018e6ea89df7323a640f213fa62245 | |
parent | app-misc/tty-clock: added, ready for sunrise commit (diff) | |
download | wuodan-b69a772049aea5916c9a9a4d766aebc863f68e97.tar.gz wuodan-b69a772049aea5916c9a9a4d766aebc863f68e97.tar.bz2 wuodan-b69a772049aea5916c9a9a4d766aebc863f68e97.zip |
net-misc/teamviewer: test for TV-8 from .deb
-rw-r--r-- | net-misc/teamviewer/Manifest | 5 | ||||
-rw-r--r-- | net-misc/teamviewer/files/teamviewerd.rc | 16 | ||||
-rw-r--r-- | net-misc/teamviewer/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/teamviewer/teamviewer-8.0.17147.ebuild | 58 |
4 files changed, 88 insertions, 0 deletions
diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest new file mode 100644 index 0000000..bfb8c72 --- /dev/null +++ b/net-misc/teamviewer/Manifest @@ -0,0 +1,5 @@ +AUX teamviewerd.rc 422 SHA256 92840eeec6e2ef55283f85114e2a189d960ff98f9c5a76d2bd8f455ffe79b8be SHA512 5c6f4be6947e7c39f9fe0c0a4ac71c94271e895f4bbb65be19c4c305fc86175dcc7c6b2057b283b20a28dc47a44967b476c1ba2abcfda9b0b466ead161b75580 WHIRLPOOL 4d18b268b76929989d4819fd90a7f66fed957ac864b98ca7f2434f289ebd3cfd9a553d4807e32aafe6d769d4d0d12c861b4718d3396433cd755214f62f36c85e +DIST teamviewer-8.0.17147_amd64.deb 18248854 SHA256 4b95ced2047cf337f5f1fad2f0ec776d7fdf07417a2b826ba1f05e52d2b43e06 SHA512 23d593ad0a05705cce19317f5ba7712260093133acab11767d0f7a53c78d156dce45932390b2c8d43e94a23dc8ac213a7eeba177592eb75595cd284e91db6061 WHIRLPOOL a767c393d2b8b48671a6630d9b794eff478d29fe53c4769ca2b0dbba1399104b5026599bc004bd98cfc35bb17ed3ddf78d524a1fa620e35b874bccfc4926dbd5 +DIST teamviewer-8.0.17147_x86.deb 18248582 SHA256 417891f49ecfb89c4b45d7c67294de71519a2c7693fe1a7b720123e44455653a SHA512 cd809e312cb8019a7ba9e1a22b3a182ae3f22bc8ac695f3569a258bb098d7f8851d5564150a75386ffdf8f94363edbac26d2ccfe2b3625bc34cd8a74dcbf86f8 WHIRLPOOL c75ea8682e9617cbac41a1664298728bbd85407d611c968bf640e58d8fb0fa5ae719aa529b564b2952f0fc39b10abb05ee7377fbae418eeba0535ab4b58331c5 +EBUILD teamviewer-8.0.17147.ebuild 1401 SHA256 a89b0944354d58f6014602df3c8a978a0131be77f94844b2decde10dbb279da0 SHA512 4c4a64c195ea9d856eca16aacd79f0dd9c1360ced336aade4cb4b14c39e16ebb75e0556f0b379dea9e2ba2bc75c00d802646e3e1b3d8c7c43ec417d213042475 WHIRLPOOL dc08121b5ee97f2ceb92344774ba732ab5f37eb3c943d87b59e4fc098ccb7b67d51e6cd6c27388b5304641fab64f7aca3cff39e4b4c9e28b8f8822b02a496f0b +MISC metadata.xml 335 SHA256 9300b8d1f1f4c4fa160e3c33a8338b42686197dde6e0c230a9583b822b4117ca SHA512 66b40f3e22f2cdaace51ee8e87b98e8dad65398c093eb1c30cc4c19694750bfe47f7a59e2f41263bc0e83d2da41f5a33215a8359448cc0c54cad36251767688c WHIRLPOOL 31387cea703abecfb4af2b350e0b3cd5dc3cb35bf837cfa1dff7ca4f570b9fbfd1e6d7676763f3952e9edbaf10eb4c8954a1f5492261aba51e673b3dd19f9401 diff --git a/net-misc/teamviewer/files/teamviewerd.rc b/net-misc/teamviewer/files/teamviewerd.rc new file mode 100644 index 0000000..83e8341 --- /dev/null +++ b/net-misc/teamviewer/files/teamviewerd.rc @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +start() { + ebegin "Starting teamviewer" + start-stop-daemon --start --exec /usr/sbin/teamviewerd --pidfile /var/run/teamviewerd.pid + eend $? +} + +stop() { + ebegin "Stopping teamviewer" + start-stop-daemon --stop --exec /usr/sbin/teamviewerd --pidfile /var/run/teamviewerd.pid + eend $? +} diff --git a/net-misc/teamviewer/metadata.xml b/net-misc/teamviewer/metadata.xml new file mode 100644 index 0000000..ece6fff --- /dev/null +++ b/net-misc/teamviewer/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>wuodan@pentoo.ch</email> + <name>Stefan Kuhn</name> + </maintainer> + <longdescription lang="en">All-In-One Software for Remote Support and Online Meetings.</longdescription> +</pkgmetadata> diff --git a/net-misc/teamviewer/teamviewer-8.0.17147.ebuild b/net-misc/teamviewer/teamviewer-8.0.17147.ebuild new file mode 100644 index 0000000..ca00793 --- /dev/null +++ b/net-misc/teamviewer/teamviewer-8.0.17147.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" +HOMEPAGE="http://www.teamviewer.com" +SRC_URI_BASE="http://www.teamviewer.com/download/" +SRC_URI="x86? ( ${SRC_URI_BASE}${PN}_linux.deb -> ${P}_x86.deb ) + amd64? ( ${SRC_URI_BASE}${PN}_linux_x64.deb -> ${P}_amd64.deb )" + +LICENSE="TeamViewer" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="mirror strip" + +RDEPEND="app-emulation/wine" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_install () { + echo "#!/bin/bash" > ${PN} || die + echo "export WINEDLLPATH=/opt/${PN}" >> ${PN} || die + echo "wine /opt/${PN}/TeamViewer.exe" >> ${PN} || die + + insinto /opt/${PN}/ + doins opt/teamviewer8/tv_bin/wine/drive_c/TeamViewer/* + doins ${PN} + + insinto /usr/sbin + doins opt/teamviewer8/tv_bin/teamviewerd + fperms +x /usr/sbin/teamviewerd + + fperms 755 /opt/${PN}/${PN} + dosym /opt/${PN}/${PN} /opt/bin/${PN} + + doicon -s 48 opt/teamviewer8/tv_bin/desktop/${PN}.png + + dodoc opt/teamviewer8/linux_FAQ_{EN,DE}.txt + dodoc opt/teamviewer8/CopyRights_{EN,DE}.txt + + make_desktop_entry ${PN} TeamViewer \ + /opt/${PN}/tv_bin/desktop/${PN}.png 'Network;' + + newinitd "${FILESDIR}/teamviewerd.rc" ${PN} +} |