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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (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.2: +1 -1 lines
FILE REMOVED
cleanup
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2009 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_beta5.ebuild,v 1.2 2009/12/23 11:43:25 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="as-is"
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-5/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
29 x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-5/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 for i in ${A}; do
37 sh "${DISTDIR}/${i}" --target "${WORKDIR}" || die "unpack failed"
38 done
39 }
40
41 src_install() {
42 local dest="${D}/opt/teamspeak3-client"
43
44 mkdir -p "${dest}"
45 cp -R "${WORKDIR}/"* "${dest}/" || die
46
47 exeinto /usr/bin
48 doexe "${FILESDIR}/teamspeak3"
49
50 mv "${dest}/ts3client_linux_"* "${dest}/ts3client"
51
52 useq builtin-qt || rm "${dest}"/libQt*
53 }

  ViewVC Help
Powered by ViewVC 1.1.20