diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-03-21 21:18:05 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-03-21 21:18:05 +0000 |
commit | 5c41aa24c74ed1d95844ec12e579de2ad028727a (patch) | |
tree | eb7a0e45bfbd3ce5be8b7c1446cb2a4878740b6c /media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild | |
parent | vanilla-3.19.2 + genpatches-3.19-3 + grsecurity-3.1-3.19.2-201503201903 (diff) | |
download | historical-5c41aa24c74ed1d95844ec12e579de2ad028727a.tar.gz historical-5c41aa24c74ed1d95844ec12e579de2ad028727a.tar.bz2 historical-5c41aa24c74ed1d95844ec12e579de2ad028727a.zip |
use dosbin instead of exeinto /usr/sbin/ && doexe; drop old
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild')
-rw-r--r-- | media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild index 518edd6b1661..ee8c76d2f982 100644 --- a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild +++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild @@ -1,34 +1,30 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 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.10.3.ebuild,v 1.1 2014/01/27 16:05:54 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.10.3.ebuild,v 1.2 2015/03/21 21:17:13 jlec Exp $ EAPI="5" -inherit eutils systemd user +inherit eutils multilib systemd user -DESCRIPTION="TeamSpeak Server - Voice Communication Software" +DESCRIPTION="Voice Communication Software - Server" HOMEPAGE="http://www.teamspeak.com/" -LICENSE="teamspeak3 GPL-2" +SRC_URI=" + amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz ) + x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )" SLOT="0" +LICENSE="teamspeak3 GPL-2" IUSE="doc pdf tsdns" KEYWORDS="~amd64 ~x86" RESTRICT="installsources fetch mirror strip" -SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz ) - x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )" - S="${WORKDIR}/teamspeak3-server_linux-${ARCH}" pkg_nofetch() { - if use amd64 ; then - einfo "Please download teamspeak3-server_linux-amd64-${PV}.tar.gz" - elif use x86 ; then - einfo "Please download teamspeak3-server_linux-x86-${PV}.tar.gz" - fi - einfo "from ${HOMEPAGE}?page=downloads and place this" - einfo "file in ${DISTDIR}" + elog "Please download ${A}" + elog "from ${HOMEPAGE}?page=downloads and place this" + elog "file in ${DISTDIR}" } pkg_setup() { @@ -44,8 +40,7 @@ src_install() { # Install binary, wrapper, shell files and libraries. newsbin ts3server_linux_${ARCH} ts3server-bin - exeinto /usr/sbin - doexe "${FILESDIR}"/ts3server + dosbin "${FILESDIR}"/ts3server exeinto ${opt_dir} doexe *.sh @@ -69,8 +64,7 @@ src_install() { # Install the runtime FS layout. insinto /etc/teamspeak3-server - doins "${FILESDIR}"/server.conf - doins "${FILESDIR}"/ts3db_mysql.ini + doins "${FILESDIR}"/server.conf "${FILESDIR}"/ts3db_mysql.ini keepdir /{etc,var/{lib,log,run}}/teamspeak3-server # Install the init script and systemd unit. |