summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-21 08:56:00 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-21 08:56:00 +0000
commit2e80a14f4c1ff36ac777a53e6f85581affbc73f5 (patch)
treef985df931060e796d3cfb9494ba62bcf2523edb0 /media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild
parentFixed inherit (Manifest recommit) (diff)
downloadgentoo-2-2e80a14f4c1ff36ac777a53e6f85581affbc73f5.tar.gz
gentoo-2-2e80a14f4c1ff36ac777a53e6f85581affbc73f5.tar.bz2
gentoo-2-2e80a14f4c1ff36ac777a53e6f85581affbc73f5.zip
Added init script to close bug #52421. Thanks to Donald R. Gray Jr <donaldgray@dslextreme.com> for the initial script.
Diffstat (limited to 'media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild')
-rw-r--r--media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild b/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..72b45ed4acf9
--- /dev/null
+++ b/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.2.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+
+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? ( emul-linux-x86-baselibs )"
+
+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() {
+ exeinto /opt/ventrilo-server
+ doexe ventrilo_{srv,status}
+
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/init.d.ventrilo ventrilo
+
+ exeinto /etc/conf.d/
+ newexe ${FILESDIR}/conf.d.ventrilo ventrilo
+
+ insinto /opt/ventrilo-server
+ doins ventrilo_srv.ini
+
+ dohtml ventrilo_srv.htm
+}