summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-05-31 06:45:20 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-05-31 06:45:20 +0000
commitdbf9ef8fb95af592ee4ee3287bca89536bcd4c96 (patch)
tree4c518466203182751aa0ffdbfc30876372f71a5d /media-sound/gnump3d
parentVersion bump. (diff)
downloadhistorical-dbf9ef8fb95af592ee4ee3287bca89536bcd4c96.tar.gz
historical-dbf9ef8fb95af592ee4ee3287bca89536bcd4c96.tar.bz2
historical-dbf9ef8fb95af592ee4ee3287bca89536bcd4c96.zip
Version bump.
Diffstat (limited to 'media-sound/gnump3d')
-rw-r--r--media-sound/gnump3d/ChangeLog7
-rw-r--r--media-sound/gnump3d/Manifest8
-rw-r--r--media-sound/gnump3d/files/digest-gnump3d-2.81
-rw-r--r--media-sound/gnump3d/gnump3d-2.8.ebuild80
4 files changed, 92 insertions, 4 deletions
diff --git a/media-sound/gnump3d/ChangeLog b/media-sound/gnump3d/ChangeLog
index 83dac52cc1c2..613fc93f6e41 100644
--- a/media-sound/gnump3d/ChangeLog
+++ b/media-sound/gnump3d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/gnump3d
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.19 2004/04/27 20:07:49 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.20 2004/05/31 06:45:20 eradicator Exp $
+
+*gnump3d-2.8 (30 May 2004)
+
+ 30 May 2004; Jeremy Huddleston <eradicator@gentoo.org> gnump3d-2.8.ebuild:
+ Version bump.
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> gnump3d-2.7.ebuild:
Add inherit eutils
diff --git a/media-sound/gnump3d/Manifest b/media-sound/gnump3d/Manifest
index 12890912410b..da3e1b39d3f1 100644
--- a/media-sound/gnump3d/Manifest
+++ b/media-sound/gnump3d/Manifest
@@ -1,6 +1,8 @@
-MD5 efee863e2b7e1066f853783c780cb6d9 gnump3d-2.7.ebuild 2064
+MD5 d33cc8faf6384a2c25d636d8f0372565 gnump3d-2.8.ebuild 2067
+MD5 6327a8dbb49d88fc01de04b504a9f386 ChangeLog 3244
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 f6a6b4b467a13cac2e664bfa428c1a7e ChangeLog 3120
+MD5 efee863e2b7e1066f853783c780cb6d9 gnump3d-2.7.ebuild 2064
MD5 53ddcd88da020240ac2ec48f0100c4a9 files/gnump3d.conf.d 159
-MD5 8abeea82e07f1fc9c96048b7ace64d68 files/digest-gnump3d-2.7 64
MD5 f03461b03e58cad0be97f2adff169091 files/gnump3d.init.d 751
+MD5 8abeea82e07f1fc9c96048b7ace64d68 files/digest-gnump3d-2.7 64
+MD5 cccb4c3996e61048ecb0e45049f5c383 files/digest-gnump3d-2.8 64
diff --git a/media-sound/gnump3d/files/digest-gnump3d-2.8 b/media-sound/gnump3d/files/digest-gnump3d-2.8
new file mode 100644
index 000000000000..5f6a516d2275
--- /dev/null
+++ b/media-sound/gnump3d/files/digest-gnump3d-2.8
@@ -0,0 +1 @@
+MD5 7be68af05cdac0855bf15e592a24ee9b gnump3d-2.8.tar.bz2 221310
diff --git a/media-sound/gnump3d/gnump3d-2.8.ebuild b/media-sound/gnump3d/gnump3d-2.8.ebuild
new file mode 100644
index 000000000000..5cf8552af179
--- /dev/null
+++ b/media-sound/gnump3d/gnump3d-2.8.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.8.ebuild,v 1.1 2004/05/31 06:45:20 eradicator Exp $
+
+inherit eutils
+
+DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
+HOMEPAGE="http://www.gnump3d.org/"
+SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+IUSE=""
+
+DEPEND="sys-apps/sed"
+
+RDEPEND=">=dev-lang/perl-5.8.0"
+
+LIBDIR=/usr/lib/gnump3d
+
+pkg_setup() {
+ enewuser gnump3d '' '' '' nogroup || die
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/bin
+ for binary in gnump3d-index gnump3d2; do
+ sed -i "s,#!/usr/bin/perl,#!/usr/bin/perl -I${LIBDIR},g" $binary
+ done
+}
+
+src_install() {
+ insinto ${LIBDIR}/gnump3d; doins lib/gnump3d/*.pm
+ insinto ${LIBDIR}/gnump3d/plugins; doins lib/gnump3d/plugins/*.pm
+ insinto ${LIBDIR}/gnump3d/lang; doins lib/gnump3d/lang/*.pm
+ dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
+ dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
+ doman man/*.1
+ dodir /usr/share/gnump3d; cp -R templates/* ${D}/usr/share/gnump3d/
+ insinto /etc/gnump3d
+ doins etc/mime.types
+ doins etc/gnump3d.conf
+ dosed "s,PLUGINDIR,${LIBDIR},g" /etc/gnump3d/gnump3d.conf
+ dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
+
+ dodoc AUTHORS ChangeLog README COPYING TODO
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/${PN}.init.d gnump3d
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/${PN}.conf.d gnump3d
+
+ dodir /etc/env.d
+ cat >${D}/etc/env.d/50gnump3d <<EOF
+# PERL5LIB="${LIBDIR}"
+EOF
+ dodir /var/log/gnump3d
+ dodir /var/cache/gnump3d/serving
+
+ keepdir /var/log/gnump3d
+ keepdir /var/cache/gnump3d/serving
+
+ touch ${D}/var/cache/gnump3d/song.tags
+ touch ${D}/var/cache/gnump3d/serving/.keep
+}
+
+pkg_postinst() {
+ chown -R gnump3d:nogroup /var/log/gnump3d
+ chown -R gnump3d:nogroup /var/cache/gnump3d
+ while read line; do einfo "${line}"; done <<EOF
+
+Please edit your /etc/gnump3d/gnump3d.conf before running
+/etc/init.d/gnump3d start
+
+EOF
+}