diff options
-rw-r--r-- | media-sound/gnump3d/files/digest-gnump3d-2.9.8 | 3 | ||||
-rw-r--r-- | media-sound/gnump3d/gnump3d-2.9.8.ebuild | 77 |
2 files changed, 0 insertions, 80 deletions
diff --git a/media-sound/gnump3d/files/digest-gnump3d-2.9.8 b/media-sound/gnump3d/files/digest-gnump3d-2.9.8 deleted file mode 100644 index 47ad15af938b..000000000000 --- a/media-sound/gnump3d/files/digest-gnump3d-2.9.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 60abbe007d5771a072727ea8aab9552a gnump3d-2.9.8.tar.bz2 623334 -RMD160 f7836d5faaf4d7e33ec94c425f2bc2c35a78febd gnump3d-2.9.8.tar.bz2 623334 -SHA256 abe3a6135ba0defbadde6d8048cbe0008d228c2996f43c42fd21909e1535779a gnump3d-2.9.8.tar.bz2 623334 diff --git a/media-sound/gnump3d/gnump3d-2.9.8.ebuild b/media-sound/gnump3d/gnump3d-2.9.8.ebuild deleted file mode 100644 index 2cd7391ba8f8..000000000000 --- a/media-sound/gnump3d/gnump3d-2.9.8.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-2.9.8.ebuild,v 1.3 2007/03/15 17:08:54 marienz 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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" -IUSE="" - -DEPEND="sys-apps/sed" -RDEPEND=">=dev-lang/perl-5.8.0" - -RESTRICT="test" - -pkg_setup() { - enewuser gnump3d '' '' '' nogroup || die "couldnt add new user" - LIBDIR=/usr/$(get_libdir)/gnump3d -} - -src_unpack() { - unpack ${A} - - cd ${S}/bin - for binary in gnump3d-index gnump3d-top 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 TODO - - newinitd ${FILESDIR}/${PN}.init.d gnump3d - newconfd ${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 elog "${line}"; done <<EOF - -Please edit your /etc/gnump3d/gnump3d.conf before running -/etc/init.d/gnump3d start - -EOF -} |