summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2009-03-02 00:22:40 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2009-03-02 00:22:40 +0000
commit6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564 (patch)
treed6d3713c14925a025d7d5aad83afe7ebaebd5950 /media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild
parentFix for gcc 4.3.3 / fortify_sources. Adding ~amd64 keyword. Patch by Magnus G... (diff)
downloadgentoo-2-6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564.tar.gz
gentoo-2-6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564.tar.bz2
gentoo-2-6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564.zip
Taking over ventrilo-server-bin and bumping to 3.0.3
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild')
-rw-r--r--media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild b/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild
new file mode 100644
index 000000000000..799b87273a4a
--- /dev/null
+++ b/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild,v 1.1 2009/03/02 00:22:40 gurligebis Exp $
+
+inherit eutils
+
+IUSE=""
+DESCRIPTION="The Ventrilo Voice Communication Server"
+HOMEPAGE="http://www.ventrilo.com/"
+SRC_URI="ventrilo_srv-${PV}-Linux-i386.tar.gz"
+
+LICENSE="ventrilo"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+DEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )"
+RDEPEND="${DEPEND}"
+pkg_setup() {
+ enewgroup ventrilo 3784
+ enewuser ventrilo 3784 -1 /dev/null ventrilo
+}
+
+pkg_nofetch() {
+ einfo "Please visit http://www.ventrilo.com/download.php"
+ einfo "and download the Linux i386 - 32bit ${PV} server."
+ einfo "Just save it in ${DISTDIR} !"
+}
+
+src_install() {
+ cd "${S}/ventsrv"
+
+ exeinto /opt/ventrilo-server
+ doexe ventrilo_{srv,status}
+
+ newinitd "${FILESDIR}"/${PV}-init.d.ventrilo ventrilo
+ newconfd "${FILESDIR}"/${PV}-conf.d.ventrilo ventrilo
+
+ insinto /opt/ventrilo-server
+ doins ventrilo_srv.ini
+
+ dohtml ventrilo_srv.htm
+
+ fowners ventrilo:ventrilo /opt/ventrilo-server
+}