# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ EAPI=1 inherit eutils DESCRIPTION="TeamSpeak Client - Voice Communication Software" HOMEPAGE="http://teamspeak.com/" LICENSE="teamspeak3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="strip" PROPERTIES="interactive" SRC_URI=" amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/*beta/}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run ) x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/*beta/}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run ) " DEPEND="" RDEPEND="${DEPEND} >=x11-libs/libXinerama-1.0.2" src_unpack() { # TODO: unpack_makeself -- use this version once it supports makeself 2.1.6 for i in ${A}; do sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed" done } src_install() { local dest="${D}/opt/teamspeak3-client" mkdir -p "${dest}" cp -R "${WORKDIR}/"* "${dest}/" || die exeinto /usr/bin doexe "${FILESDIR}/teamspeak3" mv "${dest}/ts3client_linux_"* "${dest}/ts3client" }