summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2011-02-27 19:45:07 +0000
committerChristian Parpart <trapni@gentoo.org>2011-02-27 19:45:07 +0000
commit3b1512f50a51d32efe802070d627511582f6e36e (patch)
tree5a22def93945674c721d0e39e2ae95ada145838c /media-sound/teamspeak-server-bin
parentInitial commit wrt #344193 by Maciej Piechotka. (diff)
downloadgentoo-2-3b1512f50a51d32efe802070d627511582f6e36e.tar.gz
gentoo-2-3b1512f50a51d32efe802070d627511582f6e36e.tar.bz2
gentoo-2-3b1512f50a51d32efe802070d627511582f6e36e.zip
version bump
(Portage version: 2.1.9.41/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/teamspeak-server-bin')
-rw-r--r--media-sound/teamspeak-server-bin/ChangeLog10
-rw-r--r--media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild60
2 files changed, 68 insertions, 2 deletions
diff --git a/media-sound/teamspeak-server-bin/ChangeLog b/media-sound/teamspeak-server-bin/ChangeLog
index b81894a77d42..09c49d784dca 100644
--- a/media-sound/teamspeak-server-bin/ChangeLog
+++ b/media-sound/teamspeak-server-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/teamspeak-server-bin
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.19 2010/10/23 23:35:51 trapni Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/ChangeLog,v 1.20 2011/02/27 19:45:07 trapni Exp $
+
+*teamspeak-server-bin-3.0.0_beta30 (27 Feb 2011)
+
+ 27 Feb 2011; Christian Parpart <trapni@gentoo.org>
+ +teamspeak-server-bin-3.0.0_beta30.ebuild:
+ version bump
*teamspeak-server-bin-3.0.0_beta29 (23 Oct 2010)
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild
new file mode 100644
index 000000000000..82f57eb6791e
--- /dev/null
+++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.0_beta30.ebuild,v 1.1 2011/02/27 19:45:07 trapni Exp $
+
+# NOTE: The comments in this file are for instruction and documentation.
+# They're not meant to appear with your final, production ebuild. Please
+# remember to remove them before submitting or committing your ebuild. That
+# doesn't mean you can't add your own comments though.
+
+# The 'Header' on the third line should just be left alone. When your ebuild
+# will be committed to cvs, the details on that line will be automatically
+# generated to contain the correct data.
+
+EAPI=1
+
+inherit eutils
+
+DESCRIPTION="TeamSpeak Server - Voice Communication Software"
+HOMEPAGE="http://teamspeak.com/"
+LICENSE="teamspeak3"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
+
+SRC_URI="
+ amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/teamspeak3-server_linux-amd64-${PV/_/-}.tar.gz )
+ x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/beta-${PV/3.0.0_beta/}/teamspeak3-server_linux-x86-${PV/_/-}.tar.gz )
+"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewuser teamspeak3
+}
+
+src_install() {
+ local dest="${D}/opt/teamspeak3-server"
+
+ mkdir -p "${dest}"
+ cp -R "${WORKDIR}/teamspeak3-server_linux-"*/* "${dest}/" || die
+
+ mv "${dest}/ts3server_linux_"* "${dest}/ts3server-bin" || die
+
+ exeinto /usr/sbin || die
+ doexe "${FILESDIR}/ts3server" || die
+
+ # runtime FS layout ...
+ insinto /etc/teamspeak3-server
+ doins "${FILESDIR}/server.conf"
+ newinitd "${FILESDIR}/teamspeak3-server.rc" teamspeak3-server
+
+ keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
+ fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
+ fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
+
+ fowners teamspeak3 /opt/teamspeak3-server
+ fperms 755 /opt/teamspeak3-server
+}