Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 576022
Collapse All | Expand All

(-)/usr/portage/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.11.4.ebuild (-12 / +13 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2016 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
3
# $Id$
4
4
Lines 6-31 Link Here
6
6
7
inherit eutils multilib systemd user
7
inherit eutils multilib systemd user
8
8
9
DESCRIPTION="Voice Communication Software - Server"
9
DESCRIPTION="Crystal Clear Cross-Platform Voice Communication Server"
10
HOMEPAGE="http://www.teamspeak.com/"
10
HOMEPAGE="http://www.teamspeak.com/"
11
SRC_URI="
11
SRC_URI="
12
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz )
12
	amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux_amd64-${PV}.tar.bz2 )
13
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )"
13
	x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux_x86-${PV}.tar.bz2 )"
14
14
15
SLOT="0"
15
SLOT="0"
16
LICENSE="teamspeak3 GPL-2"
16
LICENSE="teamspeak3 GPL-2"
17
IUSE="doc pdf tsdns"
17
IUSE="doc tsdns"
18
KEYWORDS="~amd64 ~x86"
18
KEYWORDS="~amd64 ~x86"
19
19
20
RESTRICT="installsources fetch mirror strip"
20
RESTRICT="installsources fetch mirror strip"
21
21
22
S="${WORKDIR}/teamspeak3-server_linux-${ARCH}"
22
S="${WORKDIR}/teamspeak3-server_linux_${ARCH}"
23
23
24
QA_PREBUILT="/opt/*"
24
QA_PREBUILT="/opt/*"
25
25
26
pkg_nofetch() {
26
pkg_nofetch() {
27
	elog "Please download ${A}"
27
	elog "Please download ${A}"
28
	elog "from ${HOMEPAGE}?page=downloads and place this"
28
	elog "from ${HOMEPAGE}downloads and place this"
29
	elog "file in ${DISTDIR}"
29
	elog "file in ${DISTDIR}"
30
}
30
}
31
31
Lines 42-61 Link Here
42
	into ${opt_dir}
42
	into ${opt_dir}
43
	insinto ${opt_dir}
43
	insinto ${opt_dir}
44
	exeinto ${opt_dir}
44
	exeinto ${opt_dir}
45
	newsbin ts3server_linux_${ARCH} ts3server-bin
45
	newsbin ts3server ts3server-bin
46
	doexe *.sh
46
	doexe *.sh
47
	doins *.so
47
	doins *.so
48
	doins -r sql
48
	doins -r sql
49
49
50
	# Install documentation and tsdns.
50
	# Install documentation and tsdns.
51
	dodoc -r CHANGELOG doc/*.txt
51
	dodoc -r CHANGELOG doc/*.txt
52
	use doc && dodoc -r serverquerydocs doc/*.pdf && \
52
	use doc && dodoc -r serverquerydocs doc/serverquery && \
53
		docompress -x /usr/share/doc/${PF}/serverquerydocs && \
53
		docompress -x /usr/share/doc/${PF}/serverquerydocs && \
54
		dosym ../../usr/share/doc/${PF}/serverquerydocs  ${opt_dir}/serverquerydocs
54
		docompress -x /usr/share/doc/${PF}/serverquery && \
55
		dosym ../../../usr/share/doc/${PF}/serverquery ${opt_dir}/doc/serverquery && \
56
		dosym ../../usr/share/doc/${PF}/serverquerydocs ${opt_dir}/serverquerydocs
55
57
56
	if use tsdns; then
58
	if use tsdns; then
57
		newsbin tsdns/tsdnsserver_linux_${ARCH} tsdnsserver
59
		newsbin tsdns/tsdnsserver tsdnsserver
58
59
		newdoc tsdns/README README.tsdns
60
		newdoc tsdns/README README.tsdns
60
		newdoc tsdns/USAGE USAGE.tsdns
61
		newdoc tsdns/USAGE USAGE.tsdns
61
		dodoc tsdns/tsdns_settings.ini.sample
62
		dodoc tsdns/tsdns_settings.ini.sample

Return to bug 576022