/[gentoo-x86]/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta12.ebuild
Gentoo

Contents of /media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Feb 8 13:56:10 2010 UTC (10 years, 9 months ago) by trapni
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
cleanup
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.0_beta12.ebuild,v 1.1 2010/01/21 22:23:06 trapni Exp $
4
5 # NOTE: The comments in this file are for instruction and documentation.
6 # They're not meant to appear with your final, production ebuild. Please
7 # remember to remove them before submitting or committing your ebuild. That
8 # doesn't mean you can't add your own comments though.
9
10 # The 'Header' on the third line should just be left alone. When your ebuild
11 # will be committed to cvs, the details on that line will be automatically
12 # generated to contain the correct data.
13
14 EAPI=1
15
16 inherit eutils
17
18 DESCRIPTION="TeamSpeak Client - Voice Communication Software"
19 HOMEPAGE="http://teamspeak.com/"
20 LICENSE="teamspeak3"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE="builtin-qt"
24 RESTRICT="strip"
25 PROPERTIES="interactive"
26
27 SRC_URI="
28 amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-12/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
29 x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-12/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
30 "
31
32 DEPEND="!builtin-qt? ( x11-libs/qt-core:4 x11-libs/qt-gui:4 )"
33 RDEPEND="${DEPEND}"
34
35 src_unpack() {
36 # TODO: unpack_makeself -- use this version once it supports makeself 2.1.6
37 for i in ${A}; do
38 sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed"
39 done
40 }
41
42 src_install() {
43 local dest="${D}/opt/teamspeak3-client"
44
45 mkdir -p "${dest}"
46 cp -R "${WORKDIR}/"* "${dest}/" || die
47
48 exeinto /usr/bin
49 doexe "${FILESDIR}/teamspeak3"
50
51 mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
52
53 useq builtin-qt || rm "${dest}"/libQt*
54 }

  ViewVC Help
Powered by ViewVC 1.1.20