From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- net-misc/teamviewer/teamviewer-8.0.16675.ebuild | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 net-misc/teamviewer/teamviewer-8.0.16675.ebuild (limited to 'net-misc/teamviewer/teamviewer-8.0.16675.ebuild') diff --git a/net-misc/teamviewer/teamviewer-8.0.16675.ebuild b/net-misc/teamviewer/teamviewer-8.0.16675.ebuild new file mode 100644 index 00000000..130c5270 --- /dev/null +++ b/net-misc/teamviewer/teamviewer-8.0.16675.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils + +# Major version +MV=${PV/\.*} + +DESCRIPTION="the All-In-One Solution for Remote Access and Support over the Internet" +HOMEPAGE="http://www.teamviewer.com" +SRC_URI="http://www.teamviewer.com/download/${PN}_linux.tar.gz -> ${P}.tar.gz" + +LICENSE="TeamViewerNovember2011" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="mirror strip" + +RDEPEND=" + app-emulation/wine +" + +S="${WORKDIR}/teamviewer${MV}" + +pkg_setup() { + elog "This ebuild installs the TeamViewer binary and libraries and relies on" + elog "Gentoo's wine package to run the actual program." + elog + elog "If you encounter any problems, consider running TeamViewer with the" + elog "bundled wine package manually." +} + +src_install() { +pwd + insinto /opt/teamviewer/ + doins .wine/drive_c/Program\ Files/TeamViewer/Version${MV}/* + + rm teamviewer || die + echo "#!/bin/bash" > teamviewer || die + echo "/usr/bin/wine /opt/teamviewer/TeamViewer.exe" >> teamviewer || die + insinto /usr/bin + dobin teamviewer + + dodoc linux_FAQ_{EN,DE}.txt + dodoc CopyRights_{EN,DE}.txt + + make_desktop_entry ${PN} TeamViewer ${PN} +} -- cgit v1.2.3